From edbbb66b28f7b823785739b3a3f381e7cb2329ba Mon Sep 17 00:00:00 2001 From: Doug Bell Date: Wed, 25 Aug 2010 12:34:21 -0500 Subject: [PATCH] throw exception with an error message --- lib/WebGUI/Asset.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Asset.pm b/lib/WebGUI/Asset.pm index e6e388b21..2f09844f4 100644 --- a/lib/WebGUI/Asset.pm +++ b/lib/WebGUI/Asset.pm @@ -1756,7 +1756,7 @@ sub loadModule { return $className; } - WebGUI::Error::Compile->throw(class => $className, cause => $@); + WebGUI::Error::Compile->throw(class => $className, error => $@); return undef; }