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

puppet incorrectly swallows some errors

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 4.0.0
    • None
    • None
    • 3
    • 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

            People

              Unassigned Unassigned
              kevin.corcoran Kevin Corcoran
              Ryan Gard Ryan Gard
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support