Error handling

parent 8cb67c07
......@@ -23,6 +23,7 @@ router.get("/", (req: Request, res: Response, next: NextFunction) => {
"domains": data,
});
})
.catch(next);
});
function catcher(x) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment