Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

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 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 commented Jan 24, 2014

image

dead-horse added a commit that referenced this issue Jan 24, 2014
Show registry server error response. fixed #178
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant