Fix an exceptional typo.

This commit is contained in:
Colin Kuskie 2010-01-29 17:53:29 -08:00
parent 006570a05a
commit c7f6d4c267

View file

@ -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) {