Skip to content

Commit

Permalink
Report errors that is thrown in functions wrapped in bindEnvironment (m…
Browse files Browse the repository at this point in the history
  • Loading branch information
pravdomil authored and benjamn committed Feb 21, 2018
1 parent fd63390 commit be257d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/meteor/dynamics_browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ Meteor.bindEnvironment = function (func, onException, _this) {
onException = function (error) {
Meteor._debug(
"Exception in " + description + ":",
error && error.stack || error
error,
error.stack
);
};
}
Expand Down

0 comments on commit be257d3

Please sign in to comment.