From 35ef88c6c054cf912606b5e51298d243bc8ab1e2 Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Wed, 14 May 2014 10:29:14 -0600 Subject: [PATCH] fix(quests): temporarily send error email on questStart (if already started), see #3451. Revert later --- src/controllers/groups.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/controllers/groups.js b/src/controllers/groups.js index 219c1a39a3..2d0bd650c1 100644 --- a/src/controllers/groups.js +++ b/src/controllers/groups.js @@ -490,7 +490,9 @@ questStart = function(req, res, next) { var group = res.locals.group; var force = req.query.force; - if (group.quest.active) return res.json(400,{err:'Quest already began.'}); +// if (group.quest.active) return res.json(400,{err:'Quest already began.'}); + // temporarily send error email, until we know more about this issue (then remove below, uncomment above). + if (group.quest.active) return next('Quest already began.'); group.markModified('quest');