Skip to content

Commit

Permalink
Fix logging error in streaming server (#2636)
Browse files Browse the repository at this point in the history
Logger changed upstream causing `log.silly` to error and crash the server for local only statuses
  • Loading branch information
ThisIsMissEm authored Feb 20, 2024
1 parent 5f50b63 commit 4ad7fad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion streaming/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ const startServer = async () => {

// Only send local-only statuses to logged-in users
if ((event === 'update' || event === 'status.update') && payload.local_only && !(req.accountId && allowLocalOnly)) {
log.silly(req.requestId, `Message ${payload.id} filtered because it was local-only`);
log.debug(`Message ${payload.id} filtered because it was local-only`);
return;
}

Expand Down

0 comments on commit 4ad7fad

Please sign in to comment.