Skip to content

Commit

Permalink
Reword to avoid method call duplication
Browse files Browse the repository at this point in the history
lizmat++
  • Loading branch information
zoffixznet committed Aug 1, 2016
1 parent 67b6544 commit e411e5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/Exception.pm
Expand Up @@ -321,9 +321,9 @@ do {
if $e.is-compile-time || $e.backtrace && $e.backtrace.is-runtime {
nqp::printfh($err, $e.gist);
nqp::printfh($err, "\n");
if $v and $v.Str {
if $v and $v.Str -> $location {
nqp::printfh($err, "Actually thrown at:\n");
nqp::printfh($err, $v.Str);
nqp::printfh($err, $location);
nqp::printfh($err, "\n");
}
}
Expand Down

0 comments on commit e411e5d

Please sign in to comment.