mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-12-21 19:10:11 +08:00
more detailed error
This commit is contained in:
@@ -66,7 +66,7 @@ func (mc *MasterClient) LookupFileIdWithFallback(fileId string) (fullUrls []stri
|
|||||||
VolumeOrFileIds: []string{fileId},
|
VolumeOrFileIds: []string{fileId},
|
||||||
})
|
})
|
||||||
if err != nil {
|
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 vid, vidLocation := range resp.VolumeIdLocations {
|
||||||
for _, vidLoc := range vidLocation.Locations {
|
for _, vidLoc := range vidLocation.Locations {
|
||||||
|
|||||||
Reference in New Issue
Block a user