Skip to content

Commit

Permalink
Failed calls to www_ methods generating stack traces when webgui.debu…
Browse files Browse the repository at this point in the history
…g is on

is useful for developers; merely warning skips stack traces in
WebGUI::Middleware::StackTrace.  Make this an error.
  • Loading branch information
scottwalters committed May 22, 2011
1 parent 819cef2 commit f14f2e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/WebGUI/Asset.pm
Expand Up @@ -757,7 +757,7 @@ sub dispatch {
}
elsif ($@) {
my $message = $@;
$session->log->warn("Couldn't call method www_".$func." on asset for url: ".$session->url->getRequestedUrl." Root cause: ".$message);
$session->log->error("Couldn't call method www_".$func." on asset for url: ".$session->url->getRequestedUrl." Root cause: ".$message);
}
return $output if $output || $viewing;
##No output, try the view method instead
Expand Down

0 comments on commit f14f2e5

Please sign in to comment.