Skip to content

Commit f4c2d7a

Browse files
authored
hotfix
1 parent 0e74d03 commit f4c2d7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyjs_code_runner/js/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function eval_main_script(pyjs, workdir, filename) {
4040
}
4141
catch (e) {
4242
if (typeof e === "number") {
43-
const msg = get_exception_message(e);
43+
const msg = pyjs.get_exception_message(e);
4444
console.error("error while evaluating main file:", msg)
4545
}
4646
else {

0 commit comments

Comments
 (0)