mirror of
https://github.com/sasjs/server.git
synced 2026-01-15 09:50:06 +00:00
Merge pull request #189 from sasjs/issue-187
Execution controller more details in error message
This commit is contained in:
@@ -43,7 +43,7 @@ export class ExecutionController {
|
|||||||
session?: Session
|
session?: Session
|
||||||
) {
|
) {
|
||||||
if (!(await fileExists(programPath)))
|
if (!(await fileExists(programPath)))
|
||||||
throw 'ExecutionController: SAS file 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)
|
const program = await readFile(programPath)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user