mirror of
https://github.com/rclone/rclone.git
synced 2025-12-06 00:03:32 +00:00
about: improved error message
This commit is contained in:
committed by
Nick Craig-Wood
parent
a9f18f8093
commit
8697f0bd26
@@ -1161,7 +1161,7 @@ func (f *Fs) About(ctx context.Context) (*fs.Usage, error) {
|
||||
return f.shouldRetry(ctx, resp, err)
|
||||
})
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("about call failed: %w", err)
|
||||
return nil, err
|
||||
}
|
||||
usage := &fs.Usage{}
|
||||
if i, err := strconv.ParseInt(q.Used, 10, 64); err == nil && i >= 0 {
|
||||
|
||||
Reference in New Issue
Block a user