From b1b9562ab7e5ada20115c47c9843a5a21df2de33 Mon Sep 17 00:00:00 2001 From: albertony <12441419+albertony@users.noreply.github.com> Date: Fri, 26 Sep 2025 17:36:30 +0200 Subject: [PATCH] jottacloud: remove nil error object from error message --- backend/jottacloud/jottacloud.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/jottacloud/jottacloud.go b/backend/jottacloud/jottacloud.go index 81686d517..e77515a60 100644 --- a/backend/jottacloud/jottacloud.go +++ b/backend/jottacloud/jottacloud.go @@ -463,7 +463,7 @@ You may create a new by entering a unique name.`, device) if isNew { if device == defaultDevice { - return nil, fmt.Errorf("custom mountpoints not supported on built-in %s device: %w", defaultDevice, err) + return nil, fmt.Errorf("custom mountpoints not supported on built-in %s device", defaultDevice) } fs.Debugf(nil, "Creating new mountpoint: %s", mountpoint) _, err := createMountPoint(ctx, jfsSrv, path.Join(cust.Username, device, mountpoint))