Skip to content

fix(email): fail more gracefully if no email template configured

Fixes a crash when the system tries to send a system-event notification and no email template is configured for that event. For instance, A user trying to submit a manuscript would get stuck at the submit confirmation dialog and not be able to submit.

Also gives more helpful logs.

Note: There's a bit of duplication here. In future we should get a notification system to deal with generating notifications and events, using a single set of code.

Edited by Ben Whitmore

Merge request reports