File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,10 @@ export class JsonPatcher implements patch.IPatcher {
2121 var patchError = jsonPatch . validate ( this . patches , json ) ;
2222
2323 if ( patchError ) {
24- tl . warning ( "Invalid patch at index `" + String ( patchError . index ) + "`" ) ;
25- tl . warning ( patch . SlickPatchParser . stringify ( patchError . operation ) ) ;
26- tl . warning ( patchError . name ) ;
27- tl . warning ( patchError . message ) ;
24+ tl . warning ( "Invalid patch at index `" + String ( patchError . index ) + "`" + '\n' +
25+ patch . SlickPatchParser . stringify ( patchError . operation ) + '\n' +
26+ patchError . name + '\n' +
27+ patchError . message ) ;
2828 throw new Error ( "Invalid patch at index `" + String ( patchError . index ) + "`: " + patchError . name
2929 + ", " + patchError . message ) ;
3030 }
You can’t perform that action at this time.
0 commit comments