mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-06-15 17:25:26 -04:00
d7ece5b4a9
When the context-popup compact button receives a non-OK response (e.g. 409 for active-run), the error detail from the backend was being discarded in favor of a generic 'Compaction failed' message. Now parses the JSON response body for non-OK responses and prefers the detail field when present, matching the behavior of the /compact slash command. Uses textContent for safe rendering. Co-authored-by: michaelxer <michaelxer@users.noreply.github.com>