Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
tweak module backtrace, masak++
  • Loading branch information
moritz committed Jun 12, 2012
1 parent de72404 commit 684fd2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Exception.pm
Expand Up @@ -285,7 +285,7 @@ my role X::Comp is Exception {
my $r = "===SORRY!===\n$.message\nat $.filename():$.line";
for @.modules.reverse[1..*] {
$r ~= $_<module>.defined
?? "\n from module $_<module> file $_<filename>:$_<line>"
?? "\n from module $_<module> ($_<filename>:$_<line>)"
!! "\n from $_<filename>:$_<line>";
}
$r;
Expand Down

0 comments on commit 684fd2c

Please sign in to comment.