Skip to content

Commit

Permalink
Item11948: Engine should show $@ for unknown exceptions
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/branches/Release01x01@14993 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
PaulHarvey authored and PaulHarvey committed Jun 16, 2012
1 parent 7e75e83 commit 919d617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/Foswiki/Engine.pm
Expand Up @@ -96,7 +96,7 @@ sub prepare {
my $mess =
$e->can('stringify')
? $e->stringify()
: 'Unknown exception "' . ref($e) . '"';
: 'Unknown ' . ref($e) . ' exception: ' . $@;
$res->header( -type => 'text/plain' );
if (DEBUG) {

Expand Down

0 comments on commit 919d617

Please sign in to comment.