GCS: Don't reuse same error message

We had exactly the same error message for two code paths, which made
figuring out the cause harder.
This commit is contained in:
Justin Santa Barbara 2017-09-16 21:38:22 -04:00
parent 0224883aba
commit d257e73b1c
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ func (p *GSPath) ReadTree() ([]Path, error) {
if isGCSNotFound(err) {
return nil, os.ErrNotExist
}
return nil, fmt.Errorf("error listing %s: %v", p, err)
return nil, fmt.Errorf("error listing tree %s: %v", p, err)
}
return paths, nil
}