Skip to content

Commit

Permalink
LDEV-5075 - test
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeloffner committed Aug 20, 2024
1 parent 230edbc commit 2b219a9
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

import lucee.commons.lang.ClassException;
import lucee.commons.lang.ClassUtil;
import lucee.commons.lang.ExceptionUtil;
import lucee.runtime.Component;
import lucee.runtime.ComponentImpl;
import lucee.runtime.Page;
Expand Down Expand Up @@ -75,9 +74,11 @@ public static Object call(PageContext pc, Object[] objArr) throws PageException
cls = ClassUtil.loadClass(pc, path);
}
catch (Exception e) {
ApplicationException ae = new ApplicationException("could not find component or class with name [" + path + "]");
ExceptionUtil.initCauseEL(ae, e);
throw ae;
cfc = ComponentLoader.searchComponent(pc, null, path, null, null, false, true, true, true);
// ApplicationException ae = new ApplicationException("could not find component or class with name
// [" + path + "]");
// ExceptionUtil.initCauseEL(ae, e);
// throw ae;
}
}

Expand Down

0 comments on commit 2b219a9

Please sign in to comment.