Normalize error

This commit is contained in:
Tarrgon
2026-01-09 20:44:15 -05:00
parent ee3d6af7ec
commit 09280d6eb1
+1 -1
View File
@@ -104,7 +104,7 @@ export class DiscordOAuth2 {
});
if (res.status < 200 || res.status >= 300) {
console.error(`Non 200 code while joining user: ${options.userId} to discord (${res.status}):`);
console.error(`Non 200 code while joining user (${options.userId}) to discord (${res.status}):`);
const text = await res.text();
console.error(text);
let data = { code: 0 };