Ghost/core/server/api
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
..
app.js 🐛 Fixed public api access on custom domain 2017-09-14 07:55:14 +07:00
authentication.js Improved log output for welcome email error (#9016) 2017-09-19 14:24:20 +01:00
clients.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
configuration.js Removed defunct Ghost OAuth code (#9014) 2017-09-18 13:01:58 +01:00
db.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
index.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
invites.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
mail.js Improved log output for welcome email error (#9016) 2017-09-19 14:24:20 +01:00
middleware.js 🐛 Fixed public api access on custom domain 2017-09-14 07:55:14 +07:00
notifications.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
posts.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
roles.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
routes.js Add ghost-backup client to trigger export (#8911) 2017-08-22 11:15:40 +01:00
schedules.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
settings.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
slack.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
slugs.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
subscribers.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
tags.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
themes.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
upload.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
users.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
utils.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00