Don't call the handler again in the except clause.
This was added earlier for debugging, removing it again now.
This commit is contained in:
parent
62a2e307a5
commit
ade2697859
@ -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 + ":" +
|
||||
|
Loading…
Reference in New Issue
Block a user