Skip to content

Commit

Permalink
Tweak error message on collection method fail. Looks better in the sc…
Browse files Browse the repository at this point in the history
…reencast.
  • Loading branch information
n1mmy committed Oct 16, 2012
1 parent bcab93c commit b1216c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mongo-livedata/collection.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ _.each(["insert", "update", "remove"], function (name) {
// down.
callback = function (err) {
if (err)
Meteor._debug(name + " failed: " + err.error + " -- " + err.reason);
Meteor._debug(name + " failed: " + (err.reason || err.stack));
};
}

Expand Down

0 comments on commit b1216c4

Please sign in to comment.