Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
error-message: help users open an issue
Browse files Browse the repository at this point in the history
Urge users to open an issue when an error occurs on a package instead of
telling them to contact the author by default.

Fixes: #9948
Credit: @trodrigues
Reviewed-By: @othiym23
PR-URL: #10496
  • Loading branch information
trodrigues authored and othiym23 committed Nov 25, 2015
1 parent 24f4ced commit b25efc8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/utils/error-message.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ function errorMessage (er) {
'not with npm itself.',
'Tell the author that this fails on your system:',
' ' + er.script,
'You can get their info via:',
'You can get information on how to open an issue for this project with:',
' npm bugs ' + er.pkgname,
'Or if that isn\'t available, you can get their info via:',
' npm owner ls ' + er.pkgname,
'There is likely additional logging output above.'
].join('\n')]
Expand Down

0 comments on commit b25efc8

Please sign in to comment.