Ghost/core/server
Daniel Lockyer a769bbe86c Fixed 500 error when deleting items that don't exist
fixes #11723

- when deleting an invite/label/tag/webhook that doesn't
  exist, Ghost would throw a 500 error
- this commit catches the NotFoundError
- also rejects from model if nothing was found
- spotted in Sentry
2020-04-13 16:13:33 +01:00
..
adapters Refactored existing adapters to use adapter-manager 2020-04-05 21:13:47 +02:00
api Fixed 500 error when deleting items that don't exist 2020-04-13 16:13:33 +01:00
config Refactored existing adapters to use adapter-manager 2020-04-05 21:13:47 +02:00
data Update dependency @tryghost/kg-markdown-html-renderer to v2.0.0 2020-04-09 21:10:03 +01:00
lib Moved lib/thing/index.js files to lib/thing.js 2020-04-09 10:06:20 +01:00
models Fixed 500 error when deleting items that don't exist 2020-04-13 16:13:33 +01:00
public Added minified members.js file handling 2020-02-26 14:08:10 +08:00
services Added support for token session to /ghost (#11709) 2020-04-06 11:49:14 +02:00
translations Remove External Apps 2020-03-20 10:40:22 +00:00
views Update default 404 page 2019-07-15 14:47:01 +02:00
web Moved non-helper code out of helpers 2020-04-10 12:27:43 +01:00
analytics-events.js Added event to integrations when created (#10588) 2019-03-11 15:28:17 +01:00
ghost-server.js Added debug info to controller process messages 2020-04-06 10:44:39 +01:00
index.js Refactored existing adapters to use adapter-manager 2020-04-05 21:13:47 +02:00
overrides.js Disabled bluebird debug logs 2018-08-13 14:01:31 +02:00
sentry.js Switched Sentry to use helper file for Ghost version 2020-03-26 15:35:46 +00:00
update-check.js Added site URL to Update Check body 2020-03-09 09:48:04 +00:00