Skip to content

Commit

Permalink
If it's an error, log as error mare.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gnuxie committed Dec 17, 2024
1 parent f07b003 commit bd86e73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webapis/WebAPIs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit bd86e73

Please sign in to comment.