mirror of
https://github.com/the-draupnir-project/Draupnir.git
synced 2026-08-28 22:08:31 +00:00
If it's an error, log as error mare.
https://github.com/the-draupnir-project/Draupnir/issues/643.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user