3 Commits
Author SHA1 Message Date
dsql 371428bb6b chore: bump to 1.1.0 (logging-discipline audit)
Signed-off-by: disqualifier <dev@disqualifier.me>
2026-08-10 23:00:50 -04:00
dsql b2bbca0cec fix: drop log-and-raise on the storage-channel send failure
the HTTPException handler logged at ERROR then re-raised - raise XOR log. HTTPException
propagates unwrapped per the documented error contract, so it already carries the failure
to the caller; the error log double-reported it. drop the log, keep the raise. the
genuine swallow-path WARNING elsewhere in the file is unchanged.

Signed-off-by: disqualifier <dev@disqualifier.me>
2026-08-09 02:12:29 -04:00
dsql 105545a421 release: 1.0.0
first stable release. pre-1.0.0 verification complete: all surviving MED regressions and
gaps resolved and independently re-fired, tree audited clean across the suite.

Signed-off-by: disqualifier <dev@disqualifier.me>
2026-07-09 18:53:15 -04:00
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -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
View File
@@ -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 = [
+2 -1
View File
@@ -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)