mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-09-17 16:12:15 +02:00
Improve error handling
This commit is contained in:
@@ -72,7 +72,7 @@ router.get(
|
||||
.on("error", () => {
|
||||
handleError(
|
||||
new AnonymousError("file_not_found", {
|
||||
object: req.params.repoId,
|
||||
url: req.originalUrl,
|
||||
httpStatus: 404,
|
||||
}),
|
||||
res
|
||||
|
||||
Reference in New Issue
Block a user