diff --git a/api/src/controllers/internal/Execution.ts b/api/src/controllers/internal/Execution.ts index 38cb88d..417e548 100644 --- a/api/src/controllers/internal/Execution.ts +++ b/api/src/controllers/internal/Execution.ts @@ -106,9 +106,7 @@ ${program}` await delay(50) } - const log = - ((await fileExists(logPath)) ? await readFile(logPath) : '') + - session.crashed + const log = (await fileExists(logPath)) ? await readFile(logPath) : '' const webout = (await fileExists(weboutPath)) ? await readFile(weboutPath) : ''