0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/services
Kevin Ansfield 1190ff1df0 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-23 10:58:52 +00:00
..
adapter-manager
auth
bulk-email
email-analytics Changed /^testing/ regexp use to startsWith method 2021-11-22 21:56:32 +13:00
integrations
invitations
invites
jobs
mail
mega Fixed accent color background in email callout cards 2021-11-22 10:45:03 +01:00
members Updated member signup email copy 2021-10-26 17:53:35 -04:00
notifications
offers Fixed init method for Offers service 2021-11-03 17:17:33 +02:00
permissions
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
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 Changed /^testing/ regexp use to startsWith method 2021-11-22 21:56:32 +13:00
webhooks
custom-theme-settings.js
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-23 10:58:52 +00:00
slack.js
users.js
xmlrpc.js