jared and Claude Opus 5
6df160a7bf
fix(upload): plain-language upload failure text instead of the raw MatrixError ( #213 )
...
The upload card printed the SDK's toString — 'MatrixError: [413] nope
(http://<hs>/_matrix/media/v3/upload?filename=…)'. describeUploadError() maps
the common cases to one sentence: 413/M_TOO_LARGE → 'This file is larger than
the server allows (limit N)' using m.upload.size when known, 429 → 'Slow down —
try again in a moment.', 401/403 → 'The server refused this upload: <server
text>', 5xx/transport after the retry loop → 'Couldn't reach the server. Check
your connection and retry.', other 4xx → the server's own sentence, URL
stripped. Both card renderers use it; the raw error is still console.warn-ed
by uploadContent for debugging. Unit-tested; verified headless with routed
413/403/503 responses.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01PPmy3tPq869XDW4njjVaKA
2026-09-19 12:31:26 -04:00
..
2026-07-19 00:00:07 -04:00
2026-07-07 23:32:50 -04:00
2026-05-21 23:30:50 -04:00
2026-09-18 18:26:15 -04:00
2026-07-18 15:16:55 -04:00
2026-07-07 23:01:39 -04:00
2026-05-21 23:30:50 -04:00
2026-07-11 13:52:36 -04:00
2026-09-18 21:29:24 -04:00
2025-02-10 16:49:47 +11:00
2026-09-18 00:47:37 -04:00
2026-07-02 11:45:21 -04:00
2026-06-18 13:34:40 -04:00
2026-06-18 13:34:40 -04:00
2026-09-12 20:28:41 -04:00
2026-07-18 23:22:59 -04:00
2026-07-07 23:01:32 -04:00
2026-09-18 21:07:33 -04:00
2026-07-18 22:41:36 -04:00
2026-07-02 11:50:32 -04:00
2026-05-21 23:30:50 -04:00
2026-07-03 22:30:57 -04:00
2026-05-21 23:30:50 -04:00
2026-07-24 15:37:16 -04:00
2026-07-19 01:56:55 -04:00
2026-03-07 18:03:32 +11:00
2026-07-18 22:14:51 -04:00
2026-07-02 11:45:22 -04:00
2026-06-18 22:46:19 -04:00
2026-05-21 23:30:50 -04:00
2026-09-12 20:28:41 -04:00
2026-05-21 23:30:50 -04:00
2025-03-19 23:14:54 +11:00
2026-09-18 19:19:54 -04:00
2026-06-28 22:51:13 -04:00
2026-07-18 22:41:36 -04:00
2026-09-12 19:46:06 -04:00
2026-05-13 22:22:06 -04:00
2026-05-21 23:30:50 -04:00
2026-05-22 19:52:23 -04:00
2026-05-21 23:30:50 -04:00
2026-06-02 18:43:02 -04:00
2026-06-26 18:15:51 -04:00
2024-07-21 15:43:33 +10:00
2026-06-26 17:43:36 -04:00
2026-09-19 12:31:26 -04:00
2026-07-24 00:21:10 -04:00
2025-08-24 22:36:45 +10:00
2026-09-12 14:48:35 -04:00
2026-05-21 23:30:50 -04:00
2026-07-02 11:45:21 -04:00
2025-02-10 16:49:47 +11:00
2026-05-21 23:30:50 -04:00
2026-05-22 18:59:23 -04:00
2026-05-21 23:30:50 -04:00
2026-05-21 23:30:50 -04:00
2025-03-19 23:14:54 +11:00
2026-09-19 01:12:25 -04:00
2026-05-15 19:07:13 -04:00
2026-06-02 10:34:46 -04:00
2026-05-22 17:17:26 -04:00
2026-07-03 11:30:23 -04:00
2026-07-03 22:30:57 -04:00
2025-02-10 16:49:47 +11:00
2026-09-12 20:28:41 -04:00
2025-08-04 20:29:12 +05:30
2026-05-21 23:30:50 -04:00
2026-05-21 23:30:50 -04:00
2026-05-22 19:52:23 -04:00
2026-09-19 01:04:26 -04:00
2026-05-21 23:30:50 -04:00
2026-05-15 19:07:13 -04:00
2025-08-04 20:29:12 +05:30
2025-08-04 20:29:12 +05:30
2026-06-28 21:54:42 -04:00
2026-06-19 00:15:35 -04:00
2026-07-03 11:30:23 -04:00
2026-07-19 23:35:59 -04:00
2026-05-21 23:30:50 -04:00
2026-05-22 19:52:23 -04:00
2026-07-07 14:46:21 -04:00
2024-06-01 00:19:46 +10:00
2026-05-21 23:30:50 -04:00
2026-05-22 14:24:06 -04:00
2026-05-21 23:30:50 -04:00
2026-05-21 23:30:50 -04:00
2026-05-21 23:30:50 -04:00
2024-01-21 18:20:56 +05:30
2026-07-02 13:31:09 -04:00
2026-07-01 22:39:10 -04:00
2026-05-21 11:58:40 -04:00
2026-07-18 22:30:50 -04:00
2023-06-12 16:45:23 +05:30
2026-09-17 01:14:48 -04:00