Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Half-fix regression where somehow we now get a Backtrace of (Any)
  This just improves the printer to handle that gracefully and
  still output the error message.  Why the backtrace is (Any) in the
  first place still needs to be figured out.
  • Loading branch information
skids committed Jul 24, 2015
1 parent 75374dd commit c0cd929
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 c0cd929

Please sign in to comment.