]> BookStack Code Mirror - bookstack/commit
Notifications: Logged errors and prevented them blocking user
authorDan Brown <redacted>
Thu, 12 Dec 2024 21:45:52 +0000 (21:45 +0000)
committerDan Brown <redacted>
Thu, 12 Dec 2024 21:47:39 +0000 (21:47 +0000)
commit19ee1c9be740de037dbe61ec8e82e74f24276322
tree8ed10557a17ae24e10700cebc8be08a3b09e5f9e
parentfcf0bf79a98c9b9b545d36ef728ee9cbe054048e
Notifications: Logged errors and prevented them blocking user

Failed notification sends could block the user action, whereas it's
probably more important that the user action takes places uninteruupted
than showing an error screen for the user to debug.
Logs notification errors so issues can still be debugged by admins.

Closes #5315
app/Activity/Notifications/Handlers/BaseNotificationHandler.php
tests/Activity/WatchTest.php