Improve error handling of synchronous notifications #5045

Closed
opened 2026-02-05 09:36:15 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @ssddanbrown on GitHub (Nov 11, 2024).

Notification email sending failures, without using a queue/worker currently throw and block the process, showing the error view.
Since email requires the network, and SMTP servers can respond in various unexpected ways, and since notifications sending issues probably wouldn't be considered an essential error to the majority of cases, would should probably instead attempt these but catch & log errors, to allow the action within BookStack to continue as expected.

Related to support thread 125

Doc Updates

Probably worth documenting error behaviour on the docs page.

Originally created by @ssddanbrown on GitHub (Nov 11, 2024). Notification email sending failures, without using a queue/worker currently throw and block the process, showing the error view. Since email requires the network, and SMTP servers can respond in various unexpected ways, and since notifications sending issues probably wouldn't be considered an essential error to the majority of cases, would should probably instead attempt these but catch & log errors, to allow the action within BookStack to continue as expected. _Related to support thread 125_ ## Doc Updates Probably worth documenting error behaviour on the docs page.
OVERLORD added the 🛠️ Enhancement📖 Docs Update🏭 Back-End labels 2026-02-05 09:36:15 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5045