Remove debug from Asset.pm
This commit is contained in:
parent
b86be55ba2
commit
38dedef368
1 changed files with 0 additions and 1 deletions
|
|
@ -1298,7 +1298,6 @@ sub getIsa {
|
||||||
}
|
}
|
||||||
my $asset = eval { WebGUI::Asset->newPending($session, $assetId); };
|
my $asset = eval { WebGUI::Asset->newPending($session, $assetId); };
|
||||||
if (!$asset) {
|
if (!$asset) {
|
||||||
warn "got an error\n";
|
|
||||||
WebGUI::Error::ObjectNotFound->throw(id => $assetId);
|
WebGUI::Error::ObjectNotFound->throw(id => $assetId);
|
||||||
}
|
}
|
||||||
return $asset;
|
return $asset;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue