diff options
author | Louis Pilfold <louis@lpil.uk> | 2023-12-02 22:24:36 +0000 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2023-12-06 16:20:50 +0000 |
commit | 63d04b31f1b588fee80b41870e90dbc1f3c261bf (patch) | |
tree | 552beea9627ed5873294af69d69942f0912ad354 | |
parent | 07e55691bc4c0f4db9891ee9cf1fad905e9e4ad8 (diff) | |
download | tour-63d04b31f1b588fee80b41870e90dbc1f3c261bf.tar.gz tour-63d04b31f1b588fee80b41870e90dbc1f3c261bf.zip |
Log errors
-rw-r--r-- | static/index.js | 1 |
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()) { |