Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/doctor/check-ping.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function checkPing (cb) {
tracker.info('checkPing', 'Pinging registry')
ping({}, true, (err, pong) => {
if (err && err.code && err.code.match(/^E\d{3}$/)) {
return cb(null, [err.code.substr(1)])
return cb(null, [err.code.substr(1), 'failed'])
} else {
cb(null, [200, 'ok'])
}
Expand Down