Failed calls to www_ methods generating stack traces when webgui.debug is on
is useful for developers; merely warning skips stack traces in WebGUI::Middleware::StackTrace. Make this an error.
This commit is contained in:
parent
819cef2c17
commit
f14f2e59c9
1 changed files with 1 additions and 1 deletions
|
|
@ -757,7 +757,7 @@ sub dispatch {
|
||||||
}
|
}
|
||||||
elsif ($@) {
|
elsif ($@) {
|
||||||
my $message = $@;
|
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;
|
return $output if $output || $viewing;
|
||||||
##No output, try the view method instead
|
##No output, try the view method instead
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue