Skip to content

Commit

Permalink
dont log 404's to sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
ascott committed Sep 9, 2019
1 parent 1a71bc6 commit c56eb25
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app.js
Expand Up @@ -286,7 +286,6 @@ app.get("/robots.txt", function(req, res, next) {
// 404 error handling
// this should always be after all routes to catch all invalid urls
app.use((req, res, next) => {
logError(`404 failed request from ${req.headers["user-agent"]}`);
res.status(404).render("404");
});

Expand Down

0 comments on commit c56eb25

Please sign in to comment.