mirror of https://github.com/perkeep/perkeep.git
search: fix error message
Change-Id: Ic89e3a32a919414746eeb1c96f3b694fabf9798a
This commit is contained in:
parent
4e5d32d7c3
commit
f8639c5c5c
|
@ -785,7 +785,7 @@ func (dr *DescribeRequest) describeReally(br *blobref.BlobRef, depth int) {
|
|||
des.File, err = dr.sh.index.GetFileInfo(br)
|
||||
if err != nil {
|
||||
if os.IsNotExist(err) {
|
||||
log.Printf("index.GetFileInfo(directory %s) failed; index stale?", br)
|
||||
log.Printf("index.GetFileInfo(file %s) failed; index stale?", br)
|
||||
} else {
|
||||
dr.addError(br, err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue