0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/server/services
Kevin Ansfield f5f02d7168
Fixed errors being swallowed in oembed service
no issue

When switching the oembed service to async/await the error handling was not correctly refactored. `this.errorHandler(url)` was returning a curried function so it could be used as `.catch(this.errorHandler(url))` but that's not how it's being used after the async/await change meaning we were returning a function rather than the result of that function.

- `this.errorHandler(url)` is now only used in one place where `url` is available so removed the method and moved the body of the curried function inline into the `catch` handler
- added a message to the logged error so it's more clear what the log refers to
2021-11-25 11:38:49 +01:00
..
adapter-manager Added multiple adapters capability to adapter manager 2021-10-21 20:22:45 +13:00
auth Replaced i18n.t w/ tpl helper in core/server/services/auth (#13458) 2021-10-06 09:42:44 +01:00
bulk-email Inlined package requires to save boot time and memory 2021-10-22 09:57:59 +02:00
email-analytics
integrations
invitations Replaced i18n with tpl in accept.js (#13471) 2021-10-08 15:21:22 +01:00
invites Refactored tpl to never be used in DI 2021-10-11 15:19:54 +01:00
jobs
mail Replaced i18n with tpl in GhostMailer.js (#13555) 2021-10-12 09:10:50 +01:00
mega Lazy loaded cheerio dependency 2021-11-18 17:31:04 +01:00
members Updated member signup email copy 2021-10-26 17:53:35 -04:00
notifications Simplified Notification's service constructor 2021-10-11 16:04:48 +02:00
offers Fixed init method for Offers service 2021-11-03 17:17:33 +02:00
permissions Replaced i18n.t with tpl in core/server/services/bulk-email and core/server/services/permissions (#13562) 2021-10-12 14:46:35 +01:00
posts
public-config Added Tenor contentFilter setting to config 2021-11-16 17:42:26 +00:00
redirects 🐛 Fixed a 500 error when uploading invalid routes.yaml 2021-11-04 11:52:52 +04:00
route-settings Moved URL service to backend 2021-10-19 07:29:09 +13:00
settings 🐛 Fixed GA labs flags not appearing enabled in settings API (#13681) 2021-10-22 19:59:13 +01:00
stripe 🐛 Fixed setting Tier prices after changing Stripe accounts 2021-11-10 14:03:03 +02:00
themes Fixed ThemeStorage inheritance 2021-11-05 17:17:18 +04:00
url Moved Urls and Rexources reinitialization 2021-11-17 00:00:23 +13:00
webhooks
custom-theme-settings.js Added API tests for custom theme settings (#13519) 2021-10-08 16:18:49 +01:00
limits.js Simlified limit service initialization 2021-11-03 00:33:28 +13:00
nft-oembed.js Implemented table based NFT email styles 2021-11-17 14:05:39 +01:00
oembed.js Fixed errors being swallowed in oembed service 2021-11-25 11:38:49 +01:00
slack.js Moved URL service to backend 2021-10-19 07:29:09 +13:00
users.js
xmlrpc.js Moved URL service to backend 2021-10-19 07:29:09 +13:00