use debug instead of console.error
This commit is contained in:
+1
-1
@@ -342,7 +342,7 @@ async function getBlockDevices() {
|
||||
try {
|
||||
info = JSON.parse(execSync('lsblk --paths --json --list --fs', { encoding: 'utf8' }));
|
||||
} catch (e) {
|
||||
console.error('Failed to list disks:', e);
|
||||
debug('Failed to list disks:', e);
|
||||
throw new BoxError(BoxError.INTERNAL_ERROR, e);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user