mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Expose error stack trace when caught in bindAndCatch
This commit is contained in:
@@ -11,7 +11,7 @@ var withoutInvocation = function (f) {
|
||||
var bindAndCatch = function (context, f) {
|
||||
return Meteor.bindEnvironment(withoutInvocation(f), function (e) {
|
||||
// XXX report nicely (or, should we catch it at all?)
|
||||
Meteor._debug("Exception from " + context + ":", e);
|
||||
Meteor._debug("Exception from " + context + ":", e, e.stack);
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user