Commit 00cc6887 authored by Leigh B Stoller's avatar Leigh B Stoller

Force backtrace on death.

parent 834033d9
......@@ -650,9 +650,11 @@ sub BackTraceOnWarning($)
if ($enable) {
$SIG{__WARN__} = sub { Carp::cluck(@_); };
$SIG{__DIE__} = sub { Carp::confess(@_) };
}
else {
$SIG{__WARN__} = 'DEFAULT';
$SIG{__DIE__} = 'DEFAULT';
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment