From c2b3829883ab9fe6728303a977c7c38ee0b56745 Mon Sep 17 00:00:00 2001 From: Jeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com> Date: Fri, 11 Nov 2022 12:15:42 -0500 Subject: [PATCH] Add stdout to the compilation error result (#4278) --- lib/handlers/compile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/handlers/compile.js b/lib/handlers/compile.js index ee79d45bb8e..2afda783e62 100644 --- a/lib/handlers/compile.js +++ b/lib/handlers/compile.js @@ -527,7 +527,7 @@ export class CompileHandler { } else { logger.error('Error during compilation: ', {error}); } - res.end(JSON.stringify({code: -1, stderr: [{text: error}]})); + res.end(JSON.stringify({code: -1, stdout: [], stderr: [{text: error}]})); }, ); }