diff --git a/src/rest/runMethod.ts b/src/rest/runMethod.ts index 17b1ef88b..9a7c8801d 100644 --- a/src/rest/runMethod.ts +++ b/src/rest/runMethod.ts @@ -37,7 +37,7 @@ export async function runMethod( if (!result.ok) { errorStack.message = result.statusText as Error['message']; - console.error(`Invalid authorization key.`); + console.error(`Error: ${errorStack.message}`); throw errorStack; }