Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-3521

puppet incorrectly swallows some errors

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 4.0.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Story Points:
      3
    • Sprint:
      SERVER 2014-11-19, SERVER 2014-12-03, SERVER 2014-12-17, SERVER 2014/12/31, Server 2015-01-21

      Description

      puppet has a lot of places that do rescue Exception and then swallow the exception. In some cases, the exception is not even logged.

      At least, this code should be changed to handle StandardError instead, and the errors should always be logged.

      This can be particularly problematic for certain errors - say, an OutOfMemoryError when running on JRuby, which ends up operating as a subclass of ruby's Exception. (although we've now solved this particular issue in packaging)

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  kevin.corcoran Kevin Corcoran
                  QA Contact:
                  Ryan Gard
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: