[pbs-devel] applied: [PATCH proxmox-backup 0/5] various bug fixes/improvements for gc
    Dominik Csapak 
    d.csapak at proxmox.com
       
    Tue Nov  3 08:14:39 CET 2020
    
    
  
On 11/3/20 6:11 AM, Dietmar Maurer wrote:
>> return Err(format_err!(
>>      "cannot open index {}: {}",
>>      full_path.to_string_lossy(),
>>      err,
>> ));
>>
>> is:
>>
>> bail!("can't open index {} - {}", path.to_string_lossy(), err),
> 
> btw, I normally use the following instead:
> 
> bail!("can't open index {:?} - {}", path, err),
> 
yes that is better... (i somehow thought that would print the path as
byte array, idk why i thought that)
    
    
More information about the pbs-devel
mailing list