From c7f6d4c2678fb1fd8872e88b8e4675a0bf2fde83 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Fri, 29 Jan 2010 17:53:29 -0800 Subject: [PATCH] Fix an exceptional typo. --- lib/WebGUI/Macro/AssetProxy.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Macro/AssetProxy.pm b/lib/WebGUI/Macro/AssetProxy.pm index a1054b9bc..012c106ad 100644 --- a/lib/WebGUI/Macro/AssetProxy.pm +++ b/lib/WebGUI/Macro/AssetProxy.pm @@ -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) {