mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 11:22:19 +03:00
de3a45a805
no issue Prevents errors from being uploaded to Sentry when a 404 happens in Ghost Admin. At the moment, 404s in Ghost Admin create an ENOENT error in express' static library. Our generic 404 handler at the end will only intercept requests that don't have any errors in the context, so a simple middleware can strip out 404 errors just before we add in our own. The Ghost-specific error that we attach to requests does not get uploaded to Sentry :) |
||
---|---|---|
.. | ||
apps | ||
helpers | ||
meta | ||
public | ||
services | ||
src/cards | ||
views | ||
web |