thentos icon indicating copy to clipboard operation
thentos copied to clipboard

Handle configuration errors more gracefully

Open ChristianSi opened this issue 9 years ago • 0 comments

In several instances, errors in the config file lead to an error being thrown in the code. It would be better to reserve error for programming mistakes and instead throwError $ ThentosConfigurationError msg in such cases. This concerns e.g. (but not only) the sendUserConfirmationMail and sendPasswordResetMail actions, where unknown context variables ({{...}}) in mail body templates lead to errors.

ChristianSi avatar Jan 21 '16 14:01 ChristianSi