Skip to content

Commit

Permalink
add cause
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeloffner committed Oct 24, 2024
1 parent 69d9152 commit b9b1a89
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/src/main/java/lucee/commons/lang/ExceptionUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ public static FileNotFoundException toFileNotFoundException(NoSuchFileException
return fnfe;
}

public static Throwable initCauseEL(Throwable e, Throwable cause) {
public static void initCauseEL(Throwable e, Throwable cause) {
if (cause == null) return;

// get current root cause
Expand All @@ -318,7 +318,6 @@ public static Throwable initCauseEL(Throwable e, Throwable cause) {
}
catch (Exception ex) {
}
return e;
}

public static PageException cause(String msg, PageException cause) {
Expand Down

0 comments on commit b9b1a89

Please sign in to comment.