Compare commits
3
Commits
a818813cdd
...
v1.1.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
371428bb6b | ||
|
|
b2bbca0cec | ||
|
|
105545a421 |
@@ -9,7 +9,7 @@ bites you.
|
||||
## Install
|
||||
|
||||
```
|
||||
dpy_cache @ git+ssh://git@git.rethinkstudios.io/rethink-public/dpy_cache.git@v0.1.2
|
||||
dpy_cache @ git+ssh://git@git.rethinkstudios.io/rethink-public/dpy_cache.git@v1.0.0
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "dpy_cache"
|
||||
version = "0.1.2"
|
||||
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