1
0
mirror of https://github.com/sasjs/core.git synced 2025-12-10 22:14:35 +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;
if &sqlrc or &syscc or &syserr then do;
REASON_CD='VALIDATION_ERROR: '!!
REASON_CD='VALIDATION_ERR'!!'OR: '!!
coalescec(symget('SYSERRORTEXT'),symget('SYSWARNINGTEXT'));
output;
end;
@@ -5391,7 +5391,7 @@ create table &outds (rename=(
@details PROC JSON is faster but will produce errs like the ones below if
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.

View File

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

View File

@@ -4,7 +4,7 @@
@details PROC JSON is faster but will produce errs like the ones below if
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.