Sfoglia il codice sorgente

Don't call the handler again in the except clause.

This was added earlier for debugging, removing it again now.
JC Brand 12 anni fa
parent
commit
ade2697859
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      Libraries/strophe.js

+ 0 - 1
Libraries/strophe.js

@@ -1917,7 +1917,6 @@ Strophe.Handler.prototype = {
         try {
             result = this.handler(elem);
         } catch (e) {
-            result = this.handler(elem);
             if (e.sourceURL) {
                 Strophe.fatal("error: " + this.handler +
                               " " + e.sourceURL + ":" +