Преглед изворни кода

Fix logging of messages that are binary before closing their connection (#25361)

Emelia Smith пре 1 година
родитељ
комит
23e7b4d28d
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      streaming/index.js

+ 1 - 1
streaming/index.js

@@ -1219,7 +1219,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;
       }