diff --git a/src/dpy_cache/dpy_cache.py b/src/dpy_cache/dpy_cache.py index ab6573c..99cf9cc 100644 --- a/src/dpy_cache/dpy_cache.py +++ b/src/dpy_cache/dpy_cache.py @@ -140,12 +140,7 @@ class DPYCache: for start in range(0, len(items), MAX_ATTACHMENTS_PER_MESSAGE): group = items[start:start + MAX_ATTACHMENTS_PER_MESSAGE] discord_files = [self._to_file(name, source) for name, source in group] - try: - message = await self._channel.send(content=content, files=discord_files) - except discord.HTTPException: - # raise XOR log: HTTPException propagates unwrapped (the documented contract), - # so the exception carries the failure to the caller - no error log here. - raise + message = await self._channel.send(content=content, files=discord_files) attachments = list(message.attachments) if len(attachments) != len(group):