mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-06-18 07:29:20 +08:00
[log] Show backtrace on App.fail and in verbose mode.
This commit is contained in:
@@ -110,6 +110,7 @@ module Motion; module Project
|
||||
|
||||
def fail(msg)
|
||||
log 'ERROR!', msg
|
||||
$stderr.puts caller if VERBOSE
|
||||
exit 1
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user