mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 04:20:17 +02:00
Merge branch 'error-not-warning' into 'master'
[FIX] Error codes should trigger errors, not warnings See merge request allianceauth/allianceauth!1730
This commit is contained in:
commit
0707b9b98c
@ -675,7 +675,7 @@ class DiscordClient:
|
|||||||
)
|
)
|
||||||
logger.debug('%s: response:\n%s', uid, r.text)
|
logger.debug('%s: response:\n%s', uid, r.text)
|
||||||
if not r.ok:
|
if not r.ok:
|
||||||
logger.warning(
|
logger.error(
|
||||||
'%s: Discord API returned error code %d and this response: %s',
|
'%s: Discord API returned error code %d and this response: %s',
|
||||||
uid,
|
uid,
|
||||||
r.status_code,
|
r.status_code,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user