diff --git a/src/rest/run_method.ts b/src/rest/run_method.ts index 16e1a895a..46e1edc5d 100644 --- a/src/rest/run_method.ts +++ b/src/rest/run_method.ts @@ -44,6 +44,7 @@ export async function runMethod( }, method: method.toUpperCase(), }).catch((error) => { + errorStack.message = (error as Error)?.message; console.error(error); throw errorStack; });