mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +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 :) |
||
---|---|---|
.. | ||
client@ed7f116817 | ||
frontend | ||
server | ||
shared | ||
app.js | ||
boot.js | ||
bridge.js |