1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-06 22:20:06 +00:00

fix(stp): return log+webout for debug on

This commit is contained in:
Saad Jutt
2022-04-02 07:06:09 +05:00
parent 7d5128c0d6
commit 3ff6f5e865
3 changed files with 7 additions and 8 deletions

View File

@@ -178,11 +178,10 @@ ${program}`
return {
httpHeaders,
result: fileResponse
? webout
: isDebugOn(vars) || session.crashed
? `<html><body>${webout}<div style="text-align:left"><hr /><h2>SAS Log</h2><pre>${log}</pre></div></body></html>`
: webout
result:
isDebugOn(vars) || session.crashed
? `<html><body>${webout}<div style="text-align:left"><hr /><h2>SAS Log</h2><pre>${log}</pre></div></body></html>`
: webout
}
}