Ghost/core/server/data
Naz Gargol c99f40957e
Improved mega error handling (#11393)
no issue

- Increased default mailgun retry limit to 5
- Handling retry logic closer to SDK layer gives less future manual handling
- Allowed failing request to be passed through to the caller
- To be able to handle failed requests more gracefully in the future we need all available error information to be given to the caller
- The previous method with `Promise.all` would have rejected a whole batch without providing details on each specific batch.
- Limited data returned with a failed message to batch values
- Added better error handling on mega layer
- Added new column to store failed batch info
- Added reference to mailgan error docs
- Refactored batch emailer to respond with instances of an object
- It's hard to reason about the response type of bulk mailer when multiple object types can be returned
- This gives more clarity and ability to check with `instanceof` check
2019-11-15 18:25:33 +07:00
..
db Updated links to docs (#10941) 2019-07-22 18:17:50 +08:00
exporter Removed all accesstokens and refreshtokens related code 2019-09-12 15:45:27 +01:00
importer Removed subscribers from the codebase (#11153) 2019-10-09 11:47:04 +02:00
migrations Removed redundant bulk email settings migration 2019-11-13 22:29:31 +05:30
schema Improved mega error handling (#11393) 2019-11-15 18:25:33 +07:00
validation 🏗 Migrated posts.page column to posts.type (#11111) 2019-09-16 11:51:54 +01:00
timezones.json Adds UTC as select option to timezones select list 2016-06-10 15:19:16 +02:00