mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-22 13:48:46 +00:00
fix(loggly): typo
This commit is contained in:
parent
dac2fc682d
commit
012e579cfe
1 changed files with 1 additions and 1 deletions
|
|
@ -284,7 +284,7 @@ api.cron = function(req, res, next) {
|
|||
User.findById(user._id, cb);
|
||||
}
|
||||
], function(err, saved) {
|
||||
if(err) logging.loggly({error: "Cron caught", stack: e.stack || e})
|
||||
if(err) logging.loggly({error: "Cron caught", stack: err.stack || err});
|
||||
res.locals.user = saved;
|
||||
next(err,saved);
|
||||
user = progress = quest = null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue