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

fengmk2 opened this Issue Jan 24, 2014 · 1 comment


None yet
1 participant

fengmk2 commented Jan 24, 2014

show error page


better than this

 $ cnpm sync octopie
Start sync ["octopie"].
[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
    at Object.parse (native)
    at IncomingMessage.<anonymous> (/home/www/git/
    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


This comment has been minimized.


fengmk2 commented Jan 24, 2014


@fengmk2 fengmk2 closed this in 67eb7fa Jan 24, 2014

dead-horse added a commit that referenced this issue Jan 24, 2014

Merge pull request #179 from cnpm/show-server-error
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