lib/eco/cli/config/default/workflow.rb in eco-helpers-2.0.14 vs lib/eco/cli/config/default/workflow.rb in eco-helpers-2.0.15
- old
+ new
@@ -1,10 +1,15 @@
ASSETS.cli.config do |config|
ASSETS.config.workflow do |wf|
io = nil
+ rescued = false
+
# default rescue
wf.rescue do |exception, io|
+ next io if rescued
+ rescued = true
+
io.session.logger.debug(exception.patch_full_message)
wf.run(:close, io: io)
io
end