From 6fb31be12cf64bd3cac8fc5acca919698ef1f886 Mon Sep 17 00:00:00 2001 From: TopchetoEU <36534413+TopchetoEU@users.noreply.github.com> Date: Sun, 7 Apr 2024 12:33:26 +0300 Subject: [PATCH] fix(debugger): handle all errors when generating description --- src/java/me/topchetoeu/jscript/utils/debug/SimpleDebugger.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/me/topchetoeu/jscript/utils/debug/SimpleDebugger.java b/src/java/me/topchetoeu/jscript/utils/debug/SimpleDebugger.java index f7af2e1..9b89386 100644 --- a/src/java/me/topchetoeu/jscript/utils/debug/SimpleDebugger.java +++ b/src/java/me/topchetoeu/jscript/utils/debug/SimpleDebugger.java @@ -397,7 +397,7 @@ public class SimpleDebugger implements Debugger { catch (Exception e) { } try { res.set("description", className + (defaultToString ? "" : " { " + Values.toString(ctx, obj) + " }")); } - catch (EngineException e) { } + catch (Exception e) { } }