Compare commits
2
Commits
105545a421
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
371428bb6b | ||
|
|
b2bbca0cec |
+1
-1
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "dpy_cache"
|
||||
version = "1.0.0"
|
||||
version = "1.1.0"
|
||||
description = "Persist images/files to a Discord storage channel and get durable, re-resolvable CDN references — config-free, injectable, installable."
|
||||
requires-python = ">=3.10"
|
||||
dependencies = [
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user