Skip to content

Commit

Permalink
Item13897: Override "" op to stringify Foswiki::Exceptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
vrurg committed Oct 24, 2016
1 parent 06c6883 commit 0636277
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/lib/Foswiki/Exception.pm
Expand Up @@ -57,6 +57,8 @@ use Foswiki::Class;
extends qw(Foswiki::Object);
with 'Throwable';

use overload '""' => 'stringify';

our $EXCEPTION_TRACE = 0;

=begin TML
Expand Down

0 comments on commit 0636277

Please sign in to comment.