mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 21:40:39 +03:00
a769bbe86c
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 |
||
---|---|---|
.. | ||
adapters | ||
api | ||
config | ||
data | ||
lib | ||
models | ||
public | ||
services | ||
translations | ||
views | ||
web | ||
analytics-events.js | ||
ghost-server.js | ||
index.js | ||
overrides.js | ||
sentry.js | ||
update-check.js |