1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-15 04:20:05 +00:00

chore: avoiding the string 'ERROR:' in logs

This commit is contained in:
Allan Bowe
2021-08-28 14:21:36 +03:00
parent 5c936ddb65
commit e5592a2eb2
3 changed files with 4 additions and 4 deletions

View File

@@ -4116,7 +4116,7 @@ run;
data &outds; data &outds;
if &sqlrc or &syscc or &syserr then do; if &sqlrc or &syscc or &syserr then do;
REASON_CD='VALIDATION_ERROR: '!! REASON_CD='VALIDATION_ERR'!!'OR: '!!
coalescec(symget('SYSERRORTEXT'),symget('SYSWARNINGTEXT')); coalescec(symget('SYSERRORTEXT'),symget('SYSWARNINGTEXT'));
output; output;
end; end;
@@ -5391,7 +5391,7 @@ create table &outds (rename=(
@details PROC JSON is faster but will produce errs like the ones below if @details PROC JSON is faster but will produce errs like the ones below if
special chars are encountered. special chars are encountered.
> ERROR: Some code points did not transcode. > (ERR)OR: Some code points did not transcode.
> An object or array close is not valid at this point in the JSON text. > An object or array close is not valid at this point in the JSON text.

View File

@@ -78,7 +78,7 @@ run;
data &outds; data &outds;
if &sqlrc or &syscc or &syserr then do; if &sqlrc or &syscc or &syserr then do;
REASON_CD='VALIDATION_ERROR: '!! REASON_CD='VALIDATION_ERR'!!'OR: '!!
coalescec(symget('SYSERRORTEXT'),symget('SYSWARNINGTEXT')); coalescec(symget('SYSERRORTEXT'),symget('SYSWARNINGTEXT'));
output; output;
end; end;

View File

@@ -4,7 +4,7 @@
@details PROC JSON is faster but will produce errs like the ones below if @details PROC JSON is faster but will produce errs like the ones below if
special chars are encountered. special chars are encountered.
> ERROR: Some code points did not transcode. > (ERR)OR: Some code points did not transcode.
> An object or array close is not valid at this point in the JSON text. > An object or array close is not valid at this point in the JSON text.