more verbose for error
This commit is contained in:
parent
6f339583c1
commit
5a4e8e51a1
@ -366,7 +366,7 @@ export const toText = (x: any) => {
|
|||||||
typeof x.stack === "string" &&
|
typeof x.stack === "string" &&
|
||||||
typeof x.message === "string")
|
typeof x.message === "string")
|
||||||
) {
|
) {
|
||||||
return (x.stack || x.message) as string;
|
return `ERROR! MESSAGE: ${x.message}, STACK: ${x.stack}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user