Fix exception rescuing in CLI
This commit is contained in:
1 parent
cf17db49bd
commit
e93f5e6a57
1 file changed
+1
-1
@@ -17,7 +17,7 @@ module Producer
|
||||
rescue ArgumentError => e
|
||||
stderr.puts e.message
|
||||
exit EX_USAGE
|
||||
rescue Exception => e
|
||||
rescue StandardError => e
|
||||
ef = ErrorFormatter.new(
|
||||
debug: cli.env.debug?,
|
||||
force_cause: [RecipeEvaluationError]
|
||||
|
||||
Reference in new issue
Block a user