0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/test/unit
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
..
api Added tiers data for posts with non tiers visibility 2022-03-04 18:22:59 +05:30
frontend Updated content cta helper to use new tiers helper 2022-03-04 18:22:59 +05:30
server Re-throw error when attempting to create webhooks 2022-03-07 13:54:00 +00:00
shared Added test-specific default-settings.json configuration 2022-02-21 20:06:20 +13:00