Fix logging error in streaming server (#2636)

Logger changed upstream causing `log.silly` to error and crash the server for local only statuses
This commit is contained in:
Emelia Smith 2024-02-20 20:19:58 +01:00 committed by GitHub
parent 5f50b634cf
commit 4ad7fadb82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}