Ghost/core/test/unit/mail
Katharina Irrgang edf2348394 Improved log output for welcome email error (#9016)
* Improved log output for welcome email error

no issue

- if Ghost is unable to send a welcome email, the server log printe a huge error log
- the reason was that each component wrapped the original error into a new error instance
  - so the stack grows and grows
- the golden rule should always be: the smallest/lowest component should instanitate a specifc error
  - the caller can expect to receive a custom Ghost error

* Tidy up error messages for mail failures and fix tests

- We never use "Error:" notation in our translations
- Make the error messages consistent and show a reason if possible
2017-09-19 14:24:20 +01:00
..
GhostMailer_spec.js Improved log output for welcome email error (#9016) 2017-09-19 14:24:20 +01:00
utils_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00