From 8a617a73ae63233332f5788c90f173d6cd5e1283 Mon Sep 17 00:00:00 2001 From: Mihajlo Date: Mon, 13 Jun 2022 14:01:12 +0200 Subject: [PATCH] fix: execution controller better error handling --- api/src/controllers/internal/Execution.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/controllers/internal/Execution.ts b/api/src/controllers/internal/Execution.ts index b4d8b4c..9c46601 100644 --- a/api/src/controllers/internal/Execution.ts +++ b/api/src/controllers/internal/Execution.ts @@ -43,7 +43,7 @@ export class ExecutionController { session?: Session ) { if (!(await fileExists(programPath))) - throw 'ExecutionController: SAS file does not exist.' + throw `ExecutionController: SAS file (${programPath}) does not exist.` const program = await readFile(programPath)