mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-08-23 18:31:43 +02:00
Added Peter Pfeufer's rewording.
https://gitlab.com/allianceauth/allianceauth/-/merge_requests/1754#note_2691552686
This commit is contained in:
parent
fcffb3d2ff
commit
ce872d67bb
@ -677,11 +677,11 @@ class DiscordClient:
|
||||
if not r.ok:
|
||||
member_id = url.split("/")[-1]
|
||||
logger.error(
|
||||
'%s: Discord API returned error code %d and this response: %s. This is for id: %s',
|
||||
'%s: Discord API returned error code %d for member ID %s with this response: %s.',
|
||||
uid,
|
||||
r.status_code,
|
||||
r.text,
|
||||
member_id,
|
||||
r.text
|
||||
)
|
||||
|
||||
if r.status_code == HTTPStatus.TOO_MANY_REQUESTS:
|
||||
|
Loading…
x
Reference in New Issue
Block a user