Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #476 from skids/Failure2
Half-fix regression where somehow we now get a Backtrace of (Any)
  • Loading branch information
jnthn committed Jul 24, 2015
2 parents 9908374 + c0cd929 commit 417660b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Exception.pm
Expand Up @@ -256,7 +256,7 @@ do {
my Mu $err := nqp::getstderr();

$e.backtrace; # This is where most backtraces actually happen
if $e.is-compile-time || $e.backtrace.is-runtime {
if $e.is-compile-time || $e.backtrace && $e.backtrace.is-runtime {
nqp::printfh($err, $e.gist);
nqp::printfh($err, "\n");
if $v {
Expand Down

0 comments on commit 417660b

Please sign in to comment.