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:
4
all.sas
4
all.sas
@@ -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.
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user