change ErrorHandler to Log
This commit is contained in:
parent
d11cd6f4f7
commit
199c4e4960
90 changed files with 311 additions and 311 deletions
|
|
@ -348,7 +348,7 @@ sub www_editSubmission {
|
|||
if( $assetId ne 'new' ) {
|
||||
$self ||= eval { WebGUI::Asset->newById($session,$assetId); };
|
||||
if (Exception::Class->caught()) {
|
||||
$session->errorHandler->error(__PACKAGE__ . " - failed to instanciate asset with assetId $assetId");
|
||||
$session->log->error(__PACKAGE__ . " - failed to instanciate asset with assetId $assetId");
|
||||
}
|
||||
}
|
||||
my $asset = $self || $parent;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue