improve logs

This commit is contained in:
tdurieux
2021-04-21 22:47:34 +02:00
parent b021942d6d
commit a32945bf67
4 changed files with 114 additions and 77 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ async function webView(req, res) {
});
}
} catch (error) {
console.error(error);
console.error(req.path, error);
return res.status(500).send({ error });
}
return res.status(404).send("file_not_found");