-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
这两天 Github 的 oauth 出了点问题,
我们在页面上直接把错误抛出来了
应该做下处理,显示友好点,现在看起来像是 ErrorTracker 坏掉的样子。
url: /auth/callback/github?code=eebb24bb4c19571ca63a
页面内容:
InternalOAuthError: failed to fetch user profile
at /srv/www/eb/node_modules/passport-github/lib/passport-github/strategy.js:90:28
at passBackControl (/srv/www/eb/node_modules/passport-github/node_modules/passport-oauth/node_modules/oauth/lib/oauth2.js:124:9)
at IncomingMessage.<anonymous> (/srv/www/eb/node_modules/passport-github/node_modules/passport-oauth/node_modules/oauth/lib/oauth2.js:143:7)
at IncomingMessage.emit (events.js:129:20)
at _stream_readable.js:908:16
at process._tickCallback (node.js:355:11)