Skip to content

Commit

Permalink
lib: use log.verbose, not log.warn
Browse files Browse the repository at this point in the history
These messages aren't important enough to be `log.warn`s.

Log as verbose only; they will also appear in full error output.
  • Loading branch information
DeeDeeG committed May 28, 2022
1 parent 0b54241 commit 54328e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/configure.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,13 @@ function configure (gyp, argv, callback) {

fs.unlink(symlinkDestination, function (err) {
if (err && err.code !== 'ENOENT') {
log.warn('python symlink', 'error when attempting to remove existing symlink')
log.warn('python symlink', err.stack, 'errno: ' + err.errno)
log.verbose('python symlink', 'error when attempting to remove existing symlink')
log.verbose('python symlink', err.stack, 'errno: ' + err.errno)
}
fs.symlink(python, symlinkDestination, function (err) {
if (err) {
log.warn('python symlink', 'error when attempting to create Python symlink')
log.warn('python symlink', err.stack, 'errno: ' + err.errno)
log.verbose('python symlink', 'error when attempting to create Python symlink')
log.verbose('python symlink', err.stack, 'errno: ' + err.errno)
}
})
})
Expand Down

0 comments on commit 54328e1

Please sign in to comment.