more debug output

This commit is contained in:
Joeri Exelmans 2025-11-05 14:55:57 +01:00
parent 016e96ff04
commit 5c334aafe3
2 changed files with 1 additions and 0 deletions

Binary file not shown.

View file

@ -112,6 +112,7 @@ pub fn eval_boolean(s: &str, js_trace: JsValue) -> JsValue {
}); });
} }
Err(e) => { Err(e) => {
console::debug_1(&JsValue::from_str("failed to evaluate expression"));
return JsValue::from_str(format!("failed to evaluate expression: {}", e).as_str()); return JsValue::from_str(format!("failed to evaluate expression: {}", e).as_str());
} }
} }