1
0

chore: More error
All checks were successful
Remote Deploy / deploy (push) Successful in 4s

This commit is contained in:
2025-10-24 08:26:39 +02:00
parent d885f4610e
commit 401fd5d0cb

View File

@@ -49,6 +49,8 @@ app.post("/report", async (req, res) => {
body: `${content}\n\nClass: ${className}\nLocation: ${location}`,
});
console.log(resp);
if (!resp.ok) {
throw new Error(`Request failed`);
}