1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-10 19:34:34 +00:00

fix: execution controller error details

This commit is contained in:
Mihajlo Medjedovic
2022-06-13 12:25:06 +00:00
parent 8a617a73ae
commit 3fa2a7e2e3

View File

@@ -43,7 +43,7 @@ export class ExecutionController {
session?: Session
) {
if (!(await fileExists(programPath)))
throw `ExecutionController: SAS file (${programPath}) does not exist.`
throw `The Stored Program at (${vars._program}) does not exist, or you do not have permission to view it.`
const program = await readFile(programPath)