-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Description
even when something causes an error, the application exits with zero.
daemons/lib/daemons/cmdline.rb
Lines 119 to 129 in bf0ca25
| def catch_exceptions(&block) | |
| begin | |
| block.call | |
| rescue CmdException, OptionParser::ParseError => e | |
| puts "ERROR: #{e}" | |
| puts | |
| print_usage | |
| rescue RuntimeException => e | |
| puts "ERROR: #{e}" | |
| end | |
| end |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels