Permalink
Browse files

default strophe error log should contain the error, not the handler f…

…unction
  • Loading branch information...
1 parent 23e035e commit e706543e8bbdd10541dfa346b9c2c560f4672044 @dodo dodo committed Nov 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core.js
View
@@ -1363,7 +1363,7 @@ Strophe.Handler.prototype = {
e.fileName + ":" + e.lineNumber + " - " +
e.name + ": " + e.message);
} else {
- Strophe.fatal("error: " + this.handler);
+ Strophe.fatal("error: " + e.message + "\n" + e.stack);
}
throw e;

0 comments on commit e706543

Please sign in to comment.