Skip to content

Commit

Permalink
打印错误堆栈
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghost-chu committed Nov 6, 2024
1 parent dc91007 commit ed62948
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.StringReader;

import static com.ghostchu.peerbanhelper.text.TextManager.tlUI;
Expand Down Expand Up @@ -116,7 +115,7 @@ public CompiledScript compileScript(File file, String fallbackName, String scrip
expression
);
} catch (Exception e) {
log.warn("Script Engine unable to compile the script: {}", fallbackName);
log.warn("Script Engine unable to compile the script: {}", fallbackName, e);
return null;
}
}
Expand Down

0 comments on commit ed62948

Please sign in to comment.