Ver código fonte

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

This was added earlier for debugging, removing it again now.
JC Brand 12 anos atrás
pai
commit
ade2697859
1 arquivos alterados com 0 adições e 1 exclusões
  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 + ":" +