Browse Source

xmpp: log JSON message parsing errors

master
Saúl Ibarra Corretgé 4 years ago
parent
commit
dfd68d486c
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      modules/xmpp/xmpp.js

+ 2
- 0
modules/xmpp/xmpp.js View File

742
                     + 'structure', 'topic: ', type);
742
                     + 'structure', 'topic: ', type);
743
             }
743
             }
744
         } catch (e) {
744
         } catch (e) {
745
+            logger.error(e);
746
+
745
             return false;
747
             return false;
746
         }
748
         }
747
 
749
 

Loading…
Cancel
Save