2 Commits
Author SHA1 Message Date
ancsemi 6d9a76eec5 Every silent catch in the server now either reports the error or says why ignoring it is safe
Went through all of them (about 220 across server.js and src/). The ones
that could leave data, settings or files wrong without anyone knowing now
log a short warning: failed file moves and deletes after a delete or
restore, backup entries that could not be added, startup steps like the
sticker folder or the Referrer-Policy, auto-role grants on join, audit log
writes, attachment tags dropped on send, webhook delivery status, the AFK,
temp-channel and disk-space timers, DM call and push lookups, Discord import
files that could not be parsed, Ferry's loop guard and automod checks, the
media cache folder and the one-time data folder migration. Ones that repeat
on busy paths log at most once every few minutes.

The rest are expected failures (a temp file already gone, a socket already
closed, untrusted input with a fallback) and each now carries a comment
saying so instead of a bare catch {}. Two guards that could never fire were
removed. No bare catch {} is left in the server code.
2026-10-02 07:36:58 -04:00
Bernardo Costa 3b14588bae Add dynamic bot voice audio (#5540)
* Add dynamic bot voice audio

* Close bot audio review gaps
2026-08-29 23:43:44 -04:00