diff options
| author | 2020-06-15 17:41:34 -0700 | |
|---|---|---|
| committer | 2020-06-15 17:41:34 -0700 | |
| commit | ae44563fe132436d98f50e074e5eb4421eda5538 (patch) | |
| tree | 0ee8d85362cdbb54a2759e71c78f16199a2aab93 | |
| parent | Add the C# guild to the whitelist (diff) | |
Log exception info for failed attachment uploads
| -rw-r--r-- | bot/utils/messages.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/utils/messages.py b/bot/utils/messages.py index de8e186f3..23519a514 100644 --- a/bot/utils/messages.py +++ b/bot/utils/messages.py @@ -97,7 +97,7 @@ async def send_attachments( if link_large and e.status == 413: large.append(attachment) else: - log.warning(f"{failure_msg} with status {e.status}.") + log.warning(f"{failure_msg} with status {e.status}.", exc_info=e) if link_large and large: desc = "\n".join(f"[{attachment.filename}]({attachment.url})" for attachment in large) |