From 366483ccd86eb2f315031d074be79cdeb556932e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eloy=20Dur=C3=A1n?= Date: Wed, 17 Dec 2014 13:39:01 +0100 Subject: [PATCH] [log] Show backtrace on `App.fail` and in verbose mode. --- lib/motion/project/app.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/motion/project/app.rb b/lib/motion/project/app.rb index 69a1a436..05e90766 100644 --- a/lib/motion/project/app.rb +++ b/lib/motion/project/app.rb @@ -110,6 +110,7 @@ module Motion; module Project def fail(msg) log 'ERROR!', msg + $stderr.puts caller if VERBOSE exit 1 end