mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-08-24 10:51:42 +02:00
Compare commits
3 Commits
1930dfab77
...
222547187e
Author | SHA1 | Date | |
---|---|---|---|
|
222547187e | ||
|
ce872d67bb | ||
|
fcffb3d2ff |
@ -675,10 +675,12 @@ 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:
|
||||||
|
member_id = url.split("/")[-1]
|
||||||
logger.error(
|
logger.error(
|
||||||
'%s: Discord API returned error code %d and this response: %s',
|
'%s: Discord API returned error code %d for member ID %s with this response: %s.',
|
||||||
uid,
|
uid,
|
||||||
r.status_code,
|
r.status_code,
|
||||||
|
member_id,
|
||||||
r.text
|
r.text
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user