From e57fe14b6105c50b805f41c52b05298da2e59c73 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Wed, 8 Jun 2022 09:08:12 +0100 Subject: [PATCH] mount: log IO errors at ERROR level - fixes #6217 --- cmd/mount/fs.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/mount/fs.go b/cmd/mount/fs.go index 43d378027..c89110ecc 100644 --- a/cmd/mount/fs.go +++ b/cmd/mount/fs.go @@ -102,5 +102,6 @@ func translateError(err error) error { case vfs.EINVAL: return fuse.Errno(syscall.EINVAL) } + fs.Errorf(nil, "IO error: %v", err) return err }