mirror of
https://github.com/rclone/rclone.git
synced 2025-12-22 19:23:40 +00:00
jottacloud: remove nil error object from error message
This commit is contained in:
@@ -463,7 +463,7 @@ You may create a new by entering a unique name.`, device)
|
|||||||
|
|
||||||
if isNew {
|
if isNew {
|
||||||
if device == defaultDevice {
|
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)
|
fs.Debugf(nil, "Creating new mountpoint: %s", mountpoint)
|
||||||
_, err := createMountPoint(ctx, jfsSrv, path.Join(cust.Username, device, mountpoint))
|
_, err := createMountPoint(ctx, jfsSrv, path.Join(cust.Username, device, mountpoint))
|
||||||
|
|||||||
Reference in New Issue
Block a user