If it's an error, log as error mare.

https://github.com/the-draupnir-project/Draupnir/issues/643.
This commit is contained in:
gnuxie
2024-12-17 23:31:57 +00:00
parent b8ce84301f
commit bdc1ef4352
+1 -1
View File
@@ -261,7 +261,7 @@ export class WebAPIs {
// Match the spec behavior of `/report`: return 200 and an empty JSON.
response.status(200).json({});
} catch (ex) {
log.warn("Error responding to an abuse report", roomID, eventID, ex);
log.error("Error responding to an abuse report", roomID, eventID, ex);
response.status(503);
}
}