improve trashed message
This commit is contained in:
parent
3fb12e3c44
commit
e7e7b79e99
2 changed files with 8 additions and 1 deletions
|
@ -84,6 +84,7 @@ func FindTrash(trashdir, ogdir string, f *filter.Filter) (files Files, outerr er
|
|||
trashedpath := strings.Replace(strings.Replace(path, "info", "files", 1), trash_info_ext, "", 1)
|
||||
info, err := os.Stat(trashedpath)
|
||||
if err != nil {
|
||||
// TODO: do something about it
|
||||
log.Errorf("error reading %s: %s", trashedpath, err)
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue