Skip to content

Log errors in background callbacks instead of ignoring them - #424

Merged
xNickyDev merged 3 commits into
tryforge:alphafrom
Daaisukidayo:fix/callback-errors
Nov 26, 2026
Merged

xNickyDev merged 3 commits into
tryforge:alphafrom
Daaisukidayo:fix/callback-errors

Conversation

@Daaisukidayo

Copy link
Copy Markdown
Contributor
  • $async, $setTimeout, $setInterval: returned errors are logged through ctx.noop
  • $wsOn, $wsSend: exceptions are caught and returned errors are logged through ctx.noop
  • $awaitComponent, $awaitMessage, $awaitModalSubmit: exceptions in the filter code are caught and errors are logged through ctx.noop

… and the filters of $awaitComponent, $awaitMessage and $awaitModalSubmit being silently ignored or crashing the bot
@xNickyDev xNickyDev added not tested Bug has not been reproduced patch labels Nov 25, 2026
@xNickyDev
xNickyDev changed the base branch from dev to alpha November 26, 2026 16:50
@xNickyDev

Copy link
Copy Markdown
Member

Merged #423 into dev. This pull request and #422 will be merged into the new branch alpha first before landing on the dev branch. This allows me (and others) to test the changes first to visualize the changes and impact. The changes will then either be merged into dev separately or needed changes will be requested.

I've already changed the base branch for both pull requests, both require conflict resolving before merging..

@xNickyDev xNickyDev removed the blocked label Nov 26, 2026
@xNickyDev
xNickyDev merged commit b8ffd13 into tryforge:alpha Nov 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

not tested Bug has not been reproduced patch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants