mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Merge pull request #1387 from peerlibrary/wrapasync-err
Check for err.stack in logErr in wrapAsync
This commit is contained in:
@@ -84,7 +84,7 @@ _.extend(Meteor, {
|
||||
var logErr = function (err) {
|
||||
if (err)
|
||||
return Meteor._debug("Exception in callback of async function",
|
||||
err ? err.stack : err);
|
||||
err.stack ? err.stack : err);
|
||||
};
|
||||
|
||||
// Pop off optional args that are undefined
|
||||
|
||||
Reference in New Issue
Block a user