diff --git a/server/social.coffee b/server/social.coffee index 50a2c98..20709fa 100644 --- a/server/social.coffee +++ b/server/social.coffee @@ -226,9 +226,10 @@ module.exports = exports = (log, loga, argv) -> displayName: extractUserInfo(argv.oauth2_DisplayNameField, 'params.user_id') } } - cb(null, user))) + cb(null, user) catch e console.error('*** Error extracting user info:', e) + )) # Github Strategy if argv.github_clientID? and argv.github_clientSecret?