lib/cms_scanner.rb in cms_scanner-0.0.37.10 vs lib/cms_scanner.rb in cms_scanner-0.0.37.11
- old
+ new
@@ -101,10 +101,10 @@
controllers.run
rescue OptParseValidator::NoRequiredOption => e
@run_error = e
formatter.output('@usage', msg: e.message)
- rescue => e
+ rescue Interrupt, StandardError => e
@run_error = e
formatter.output('@scan_aborted',
reason: e.message,
trace: e.backtrace,