more verbose for error
This commit is contained in:
+1
-1
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user