lib/arli/helpers/output.rb in arli-1.0.0 vs lib/arli/helpers/output.rb in arli-1.0.1
- old
+ new
@@ -61,9 +61,10 @@
__pf e.backtrace.reverse[-10..-1].join("\n").red + "\n"
elsif e
__pf "\nUse -t (--trace) for detailed exception\n" +
"or -D (--debug) to print Arli config\n"
end
+ raise(e)
end
def raise_invalid_arli_command!(cmd, e = nil)
raise Arli::Errors::InvalidCommandError.new(cmd)
end