Przeglądaj źródła

xmpp: log JSON message parsing errors

master
Saúl Ibarra Corretgé 4 lat temu
rodzic
commit
dfd68d486c
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2
    0
      modules/xmpp/xmpp.js

+ 2
- 0
modules/xmpp/xmpp.js Wyświetl plik

@@ -742,6 +742,8 @@ export default class XMPP extends Listenable {
742 742
                     + 'structure', 'topic: ', type);
743 743
             }
744 744
         } catch (e) {
745
+            logger.error(e);
746
+
745 747
             return false;
746 748
         }
747 749
 

Ładowanie…
Anuluj
Zapisz