diff --git a/src/request/RequestClient.ts b/src/request/RequestClient.ts index e1c42e0..ef21871 100644 --- a/src/request/RequestClient.ts +++ b/src/request/RequestClient.ts @@ -691,7 +691,9 @@ const parseError = (data: string) => { const parts = data.split(/stored process not found: /i) if (parts.length > 1) { const storedProcessPath = parts[1].split('')[1].split('')[0] - const message = `Stored process not found: ${storedProcessPath}` + const message = storedProcessPath.endsWith('runner') + ? `SASJS runner not found. Here's the link (https://cli.sasjs.io/auth/#sasjs-runner) to the SAS code for registering the SASjs runner` + : `Stored process not found: ${storedProcessPath}` return new JobExecutionError(500, message, '') } }