Fix an exceptional typo.
This commit is contained in:
parent
006570a05a
commit
c7f6d4c267
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ sub process {
|
|||
else {
|
||||
$asset = eval { WebGUI::Asset->newByUrl($session,$identifier); };
|
||||
}
|
||||
if (WebGUI::Exception->caught()) {
|
||||
if (Exception::Class->caught()) {
|
||||
$session->errorHandler->warn('AssetProxy macro called invalid asset: '.$identifier
|
||||
.'. The macro was called through this url: '.$session->asset->get('url'));
|
||||
if ($session->var->isAdminOn) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue