[log] Show backtrace on App.fail and in verbose mode.

This commit is contained in:
Eloy Durán
2014-12-17 13:39:01 +01:00
parent 5ce6eceffd
commit 366483ccd8

View File

@@ -110,6 +110,7 @@ module Motion; module Project
def fail(msg)
log 'ERROR!', msg
$stderr.puts caller if VERBOSE
exit 1
end