From 63d04b31f1b588fee80b41870e90dbc1f3c261bf Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Sat, 2 Dec 2023 22:24:36 +0000 Subject: Log errors --- static/index.js | 1 + 1 file changed, 1 insertion(+) (limited to 'static/index.js') 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()) { -- cgit v1.2.3