@esfaenza/core 19.2.188 → 19.2.190
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1108,6 +1108,8 @@ class APPErrorHandler {
|
|
|
1108
1108
|
newError = error.message;
|
|
1109
1109
|
else
|
|
1110
1110
|
newError = error.stack && error.stack.length > 1000 ? error.stack.substring(0, 999) + "[...]" : error.stack;
|
|
1111
|
+
if (!newError)
|
|
1112
|
+
newError = JSON.stringify(error);
|
|
1111
1113
|
var pars = { errorMessage: this.b64EncodeUnicode(newError), fromUrl: this.router.url };
|
|
1112
1114
|
this.router.navigate([`err/9999`, pars]);
|
|
1113
1115
|
}
|