Skip to content

Commit e3de45d

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 c61d346 commit e3de45d

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
@@ -97,13 +97,13 @@ function configure (gyp, argv, callback) {
9797

9898
fs.unlink(symlinkDestination, function (err) {
9999
if (err && err.code !== 'ENOENT') {
100-
log.warn('python symlink', 'error when attempting to remove existing symlink')
101-
log.warn('python symlink', err.stack, 'errno: ' + err.errno)
100+
log.verbose('python symlink', 'error when attempting to remove existing symlink')
101+
log.verbose('python symlink', err.stack, 'errno: ' + err.errno)
102102
}
103103
fs.symlink(python, symlinkDestination, function (err) {
104104
if (err) {
105-
log.warn('python symlink', 'error when attempting to create Python symlink')
106-
log.warn('python symlink', err.stack, 'errno: ' + err.errno)
105+
log.verbose('python symlink', 'error when attempting to create Python symlink')
106+
log.verbose('python symlink', err.stack, 'errno: ' + err.errno)
107107
}
108108
})
109109
})

0 commit comments

Comments
 (0)