How to get the log of syntax errors
final JSContext jsContext = getJsContext(); jsContext.setExceptionHandler(e -> { Logger.logInfo(e.getMessage()); });
Activity
gonghaisheng commentedon Aug 3, 2022
How to get the log of syntax errors
Pranay42 commentedon Sep 14, 2022
final JSContext jsContext = getJsContext();
jsContext.setExceptionHandler(e -> {
Logger.logInfo(e.getMessage());
});