mirror of
https://github.com/sasjs/server.git
synced 2025-12-10 19:34:34 +00:00
fix: execution controller better error handling
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user