Add error message for closeIO.getSalesContactEmail

This commit is contained in:
Matt Lott 2016-05-26 17:02:58 -07:00
parent 4bb3ac1f0a
commit 72b8674237

View file

@ -68,4 +68,5 @@ module.exports =
return done(null, activity.sender) if /@codecombat\.com/ig.test(activity.sender)
return done(null, config.mail.supportSchools)
catch error
log.error("closeIO.getSalesContactEmail Error for #{email}: #{JSON.stringify(error)}")
return done(error, config.mail.supportSchools)