Better debug messaages

This commit is contained in:
Avital Oliver
2012-10-12 18:00:08 -07:00
parent e7a1d27e53
commit 09a4f4ce56
2 changed files with 2 additions and 2 deletions

View File

@@ -105,7 +105,7 @@
try {
f();
} catch (e) {
Meteor._debug("Exception from Meteor._atFlush:", e);
Meteor._debug("Exception from Meteor._atFlush:", e.stack);
}
}
atFlushContext = null;

View File

@@ -365,7 +365,7 @@ _.extend(Meteor._LivedataConnection.prototype, {
// go to log.
if (exception && !exception.expected)
Meteor._debug("Exception while simulating the effect of invoking '" +
name + "'", exception.stack);
name + "'", exception, exception.stack);
}
// At this point we're definitely doing an RPC, and we're going to