From cd58b583e777cd78788c7c46a8a52b5455e411a2 Mon Sep 17 00:00:00 2001 From: Victor Gomez Date: Wed, 12 Jan 2022 22:51:17 -0300 Subject: [PATCH] Just small correction with error handler log --- src/rest/runMethod.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }