Skip to content

Commit 54328e1

Browse files
committed
lib: use log.verbose, not log.warn
These messages aren't important enough to be `log.warn`s. Log as verbose only; they will also appear in full error output.
1 parent 0b54241 commit 54328e1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/configure.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,13 @@ function configure (gyp, argv, callback) {
100100

101101
fs.unlink(symlinkDestination, function (err) {
102102
if (err && err.code !== 'ENOENT') {
103-
log.warn('python symlink', 'error when attempting to remove existing symlink')
104-
log.warn('python symlink', err.stack, 'errno: ' + err.errno)
103+
log.verbose('python symlink', 'error when attempting to remove existing symlink')
104+
log.verbose('python symlink', err.stack, 'errno: ' + err.errno)
105105
}
106106
fs.symlink(python, symlinkDestination, function (err) {
107107
if (err) {
108-
log.warn('python symlink', 'error when attempting to create Python symlink')
109-
log.warn('python symlink', err.stack, 'errno: ' + err.errno)
108+
log.verbose('python symlink', 'error when attempting to create Python symlink')
109+
log.verbose('python symlink', err.stack, 'errno: ' + err.errno)
110110
}
111111
})
112112
})

0 commit comments

Comments
 (0)