0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/test/unit/server
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
..
adapters Added ability to delete existing files through storage adapters 2021-11-09 16:07:23 +04:00
data Switched products.visible for products.visibility (#14264) 2022-03-04 11:07:38 +00:00
lib Renamed getLocalFileStoragePath 2021-11-05 17:17:18 +04:00
models Updated SingleUseToken grace period to 10 minutes (#13926) 2022-01-03 17:55:53 +02:00
services Re-throw error when attempting to create webhooks 2022-03-07 13:54:00 +00:00
web Fixed admin views path mocking override in tests 2022-02-16 19:22:20 +01:00
notify.test.js Fixed notify library tests 2021-12-06 08:20:39 +00:00
overrides.test.js Set global Luxon timezone override to UTC 2021-10-20 09:19:29 +02:00