mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-03 09:20:08 +00:00
Just small correction with error handler log
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user