Browse Source

more detailed error

pull/3570/head
chrislu 2 years ago
parent
commit
e583dbdd2a
  1. 2
      weed/wdclient/masterclient.go

2
weed/wdclient/masterclient.go

@ -66,7 +66,7 @@ func (mc *MasterClient) LookupFileIdWithFallback(fileId string) (fullUrls []stri
VolumeOrFileIds: []string{fileId},
})
if err != nil {
return fmt.Errorf("LookupVolume failed: %v", err)
return fmt.Errorf("LookupVolume %s failed: %v", fileId, err)
}
for vid, vidLocation := range resp.VolumeIdLocations {
for _, vidLoc := range vidLocation.Locations {

Loading…
Cancel
Save