fix: handle expired scheduled event links & fix test suite setup #73
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: cadence/out-of-your-element#73
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "beanie/out-of-your-element:bugfix/handle-expired-events"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR addresses a bridge crash discovered while backfilling old channels, alongside a wee QoL fix for the test suite.
d2m): Wraps Discord scheduled event/invite link lookups in a try-catch block. If a link is expired (404 or Discord error 10006), the bridge now posts a fallbackm.noticerather than throwing an error and halting message conversion.test.jsto initialize the mock registration object usinggetTemplateRegistration()preventing test runner crashes when running without a localregistration.yamlfile.54dad027e6to6553946b88View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.