Browse Source

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

This was added earlier for debugging, removing it again now.
JC Brand 12 năm trước cách đây
mục cha
commit
ade2697859
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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 + ":" +