Ghost/core/server/services/webhooks
Daniel Lockyer 1a3aa69c68 Re-throw error when attempting to create webhooks
- we catch error arising from creating webhooks and check for specific codes
- if our error does not match one of those codes, we don't propagate the
  error up
- this becomes a problem if saving a webhook fails for some other reason
  because upstream code assumes we return an error or model
- this commit re-throws the error and adds a test that would have caught
  this
2022-03-07 13:54:00 +00:00
..
index.js Added more webhooks & changed payload 2019-02-07 23:14:27 +01:00
listen.js Added comments to all usages of lib/common/events 2021-07-07 16:02:44 +01:00
payload.js Fixed webhook payload 2019-02-25 09:38:08 +01:00
serialize.js Bumped webhook API defaults to v4 2021-03-02 12:31:52 +13:00
trigger.js Replaced request module with @tryghost/request 2021-06-16 13:16:15 +01:00
webhooks-service.js Re-throw error when attempting to create webhooks 2022-03-07 13:54:00 +00:00