mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
more detailed error
This commit is contained in:
parent
d81db3c703
commit
e583dbdd2a
|
@ -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…
Reference in a new issue