summaryrefslogtreecommitdiff
path: root/lib/debug.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/debug.rb')
-rw-r--r--lib/debug.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/debug.rb b/lib/debug.rb
index d20d1ebbfc..71fe830475 100644
--- a/lib/debug.rb
+++ b/lib/debug.rb
@@ -578,6 +578,7 @@ EOHELP
end
def excn_handle(file, line, id, binding)
+ p $!
if $!.type <= SystemExit
set_trace_func nil
exit