MOBILE-2795 debug: Show error message trace when debug is on
This commit is contained in:
parent
409a9de4ea
commit
5520598e31
@ -1034,6 +1034,9 @@ export class CoreDomUtilsProvider {
|
||||
if (error.backtrace) {
|
||||
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user