change ErrorHandler to Log
This commit is contained in:
parent
d11cd6f4f7
commit
199c4e4960
90 changed files with 311 additions and 311 deletions
|
|
@ -299,7 +299,7 @@ sub view {
|
|||
PRODUCT: foreach my $id (@productIds) {
|
||||
my $asset = WebGUI::Asset->newById($session, $id);
|
||||
if (!defined $asset) {
|
||||
$session->errorHandler->error(q|Couldn't instanciate SKU with assetId |.$id.q| on shelf with assetId |.$self->getId);
|
||||
$session->log->error(q|Couldn't instanciate SKU with assetId |.$id.q| on shelf with assetId |.$self->getId);
|
||||
next PRODUCT;
|
||||
}
|
||||
push @products, $asset if $asset->canView;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue