Skip to content

Commit

Permalink
Item14237: Prettified stringification of nested exceptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
vrurg committed May 13, 2018
1 parent 3de1a4f commit 008da77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/Foswiki/Exception.pm
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ around to_str => sub {
my $orig = shift;
my $this = shift;

my $boundary = '-' x 60;
my $boundary = ( '-' x 60 ) . "\n";
my $msg = join( "\n",
$boundary, map( { " " . $_ } split /\n/, $this->stringify ),
$boundary );
Expand Down

0 comments on commit 008da77

Please sign in to comment.