2
0
Эх сурвалжийг харах

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

This was added earlier for debugging, removing it again now.
JC Brand 12 жил өмнө
parent
commit
ade2697859

+ 0 - 1
Libraries/strophe.js

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