mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01:00
Fix repeated error messages after pkg/errors removal
This commit is contained in:
@@ -1006,7 +1006,7 @@ func hashSum(ctx context.Context, ht hash.Type, base64Encoded bool, downloadFlag
|
||||
return "", fmt.Errorf("hash unsupported: %w", err)
|
||||
}
|
||||
if err != nil {
|
||||
return "", fmt.Errorf("failed to get hash %v from backend: %v: %w", ht, err, err)
|
||||
return "", fmt.Errorf("failed to get hash %v from backend: %w", ht, err)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user