forked from mirrors/catstodon
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:
parent
5f50b634cf
commit
4ad7fadb82
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue