This commit is contained in:
PxlLoewe
2025-07-25 10:04:44 -07:00
parent 54e0bc0b12
commit 1b23aede89
3 changed files with 115 additions and 105 deletions

View File

@@ -189,7 +189,11 @@ router.post("/:id/send-alert", async (req, res) => {
return;
} catch (error) {
console.error(error);
res.status(500).json({ error: "Failed to send mission" });
res
.status(500)
.json({
error: `Ein Fehler ist aufgetreten. Bitte melde den Fehler als Bug (${(error as Error).message})`,
});
return;
}
});