0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-18 02:21:47 -05:00
ghost/core/test
Hannah Wolfe 852155075f 🐛 Added 409 DisabledFeatureError for labs features (#8890)
fixes #8889

- This is a user error, not a system error
- Downgrading to a 4xx status code means it doesn't appear in logs where it shouldn't
- We didn't have a suitable error available so I added DisabledFeatureError with 409 status
- Ref: https://stackoverflow.com/questions/36874263/expected-http-status-code-for-an-action-on-a-disabled-resource
- Also tweaked the error message slightly as it didn't read clearly to me
2017-08-15 10:50:36 +02:00
..
functional 🐛 Fixed Infinite 404s for images (#8869) 2017-08-10 15:31:52 +02:00
integration Custom Post Excerpt Feature (#8792) 2017-08-01 12:39:34 +04:00
unit 🐛 Added 409 DisabledFeatureError for labs features (#8890) 2017-08-15 10:50:36 +02:00
utils Custom Post Excerpt Feature (#8792) 2017-08-01 12:39:34 +04:00
.jshintrc Remove jshint rules that are no longer supported 2015-01-23 21:00:37 +00:00