Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

should show error page content when status === 500 #178

Closed
fengmk2 opened this issue Jan 24, 2014 · 1 comment
Closed

should show error page content when status === 500 #178

fengmk2 opened this issue Jan 24, 2014 · 1 comment
Assignees
Labels
Milestone

Comments

@fengmk2
Copy link
Member

@fengmk2 fengmk2 commented Jan 24, 2014

show error page

image

better than this

 $ cnpm sync octopie
Start sync ["octopie"].
logurl: http://cnpmjs.org/sync/octopie#logid=2041
[2014-01-24 14:29:49] user: fengmk2, sync octopie worker start, 1 concurrency, nodeps: false, publish: false
[2014-01-24 14:29:50] [error] [octopie] get package error: JSONResponseFormatError: Unexpected token I, GET http://registry.npmjs.org/octopie
    at Object.parse (native)
    at IncomingMessage.<anonymous> (/home/www/git/cnpmjs.org/node_modules/urllib/lib/urllib.js:334:25)
    at IncomingMessage.EventEmitter.emit (events.js:117:20)
    at _stream_readable.js:920:16
    at process._tickCallback (node.js:415:13)
[2014-01-24 14:29:50] [done] Sync octopie module finished, 0 success, 1 fail
Success: [  ]
Fail: [ octopie ]
Sync all packages done, successed: ["octopie"], failed: []
@ghost ghost assigned fengmk2 Jan 24, 2014
@fengmk2
Copy link
Member Author

@fengmk2 fengmk2 commented Jan 24, 2014

image

@fengmk2 fengmk2 closed this in 67eb7fa Jan 24, 2014
dead-horse added a commit that referenced this issue Jan 24, 2014
Show registry server error response. fixed #178
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant