aboutsummaryrefslogtreecommitdiff
path: root/static/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/index.js')
-rw-r--r--static/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/static/index.js b/static/index.js
index d460c61..cff7805 100644
--- a/static/index.js
+++ b/static/index.js
@@ -60,6 +60,7 @@ async function compileEval(project, code) {
if (main) main();
replaceOutput(logged, "log");
} catch (error) {
+ console.error(error);
replaceOutput(error.toString(), "error");
}
for (const warning of project.takeWarnings()) {