throw exception with an error message

This commit is contained in:
Doug Bell 2010-08-25 12:34:21 -05:00
parent 42e05311e1
commit edbbb66b28

View file

@ -1756,7 +1756,7 @@ sub loadModule {
return $className; return $className;
} }
WebGUI::Error::Compile->throw(class => $className, cause => $@); WebGUI::Error::Compile->throw(class => $className, error => $@);
return undef; return undef;
} }