MOBILE-2795 debug: Show error message trace when debug is on
parent
409a9de4ea
commit
5520598e31
|
@ -1034,6 +1034,9 @@ export class CoreDomUtilsProvider {
|
||||||
if (error.backtrace) {
|
if (error.backtrace) {
|
||||||
extraInfo += '<br><br>' + this.textUtils.replaceNewLines(this.textUtils.escapeHTML(error.backtrace), '<br>');
|
extraInfo += '<br><br>' + this.textUtils.replaceNewLines(this.textUtils.escapeHTML(error.backtrace), '<br>');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// tslint:disable-next-line
|
||||||
|
console.error(error);
|
||||||
}
|
}
|
||||||
|
|
||||||
// We received an object instead of a string. Search for common properties.
|
// We received an object instead of a string. Search for common properties.
|
||||||
|
|
Loading…
Reference in New Issue