From 42bffbc3376285f6cdb752a39a650614c42e86a5 Mon Sep 17 00:00:00 2001 From: Emelia Smith Date: Sat, 10 Jun 2023 18:24:37 +0200 Subject: [PATCH] Fix logging of messages that are binary before closing their connection (#25361) --- streaming/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streaming/index.js b/streaming/index.js index abb72ec81d..663b6f18fe 100644 --- a/streaming/index.js +++ b/streaming/index.js @@ -1200,7 +1200,7 @@ const startWorker = async (workerId) => { ws.on('message', (data, isBinary) => { if (isBinary) { - log.debug('Received binary data, closing connection'); + log.warn('socket', 'Received binary data, closing connection'); ws.close(1003, 'The mastodon streaming server does not support binary messages'); return; }