Just small correction with error handler log

This commit is contained in:
Victor Gomez
2022-01-12 22:51:17 -03:00
committed by GitHub
parent d55e8aa69c
commit cd58b583e7

View File

@@ -37,7 +37,7 @@ export async function runMethod<T = any>(
if (!result.ok) {
errorStack.message = result.statusText as Error['message'];
console.error(`Invalid authorization key.`);
console.error(`Error: ${errorStack.message}`);
throw errorStack;
}