Răsfoiți Sursa

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

This was added earlier for debugging, removing it again now.
JC Brand 12 ani în urmă
părinte
comite
ade2697859
1 a modificat fișierele cu 0 adăugiri și 1 ștergeri
  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 + ":" +