Removed additional debug information from the nodes route

This commit is contained in:
Mathias Wagner
2023-04-03 18:47:22 +02:00
parent 3f8ff68ded
commit b39cfbc6a4

View File

@@ -50,8 +50,8 @@ app.get("/:nodeId/*", async (req, res) => {
body: req.method === "GET" ? undefined : req.body
}).then(async api => {
res.status(api.status).json(await api.json());
}).catch(err => {
res.status(500).json({message: "Internal server error", err});
}).catch(() => {
res.status(500).json({message: "Internal server error"});
});
});