This commit is contained in:
2020-07-10 15:38:02 +00:00
parent d0dbc01408
commit 39651cdf6f
3 changed files with 14 additions and 1 deletions

View File

@@ -67,6 +67,9 @@ export default {
msg += "\ncolno: " + colno;
}
if (error) {
if (typeof error === "object") {
error = JSON.stringify(error);
}
msg += "\nerror: " + error;
}
dealWithError(msg);