From 7237b142fa38020495ba3a6b6da280f27f307baf Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Thu, 2 May 2024 18:10:16 +0100 Subject: [PATCH] drive: be more explicit in debug when setting permissions fail --- backend/drive/metadata.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/drive/metadata.go b/backend/drive/metadata.go index 879303b66..a79dac3af 100644 --- a/backend/drive/metadata.go +++ b/backend/drive/metadata.go @@ -152,7 +152,7 @@ func (f *Fs) setPermissions(ctx context.Context, info *drive.File, permissions [ return f.shouldRetry(ctx, err) }) if err != nil { - fs.Errorf(f, "Failed to set permission: %v", err) + fs.Errorf(f, "Failed to set permission %s for %q: %v", perm.Role, perm.EmailAddress, err) errs.Add(err) } }