diff --git a/src/dpy_cache/dpy_cache.py b/src/dpy_cache/dpy_cache.py index 9f41f0f..6b04d94 100644 --- a/src/dpy_cache/dpy_cache.py +++ b/src/dpy_cache/dpy_cache.py @@ -138,7 +138,8 @@ class DPYCache: try: message = await self._channel.send(content=content, files=discord_files) except discord.HTTPException: - log.error("dpy_cache: send of %d file(s) to the storage channel failed", len(group)) + # raise XOR log: HTTPException propagates unwrapped (the documented contract), + # so the exception carries the failure to the caller - no error log here. raise attachments = list(message.attachments)