Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
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)