mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-09-13 14:18:57 +02:00
Improve error handling
This commit is contained in:
@@ -27,7 +27,7 @@ app.all("*", (req, res) => {
|
||||
handleError(
|
||||
new AnonymousError("file_not_found", {
|
||||
httpStatus: 404,
|
||||
object: req.originalUrl,
|
||||
url: req.originalUrl,
|
||||
}),
|
||||
res,
|
||||
req
|
||||
|
||||
Reference in New Issue
Block a user