mirror of
https://github.com/gilbertchen/duplicacy
synced 2025-12-06 00:03:38 +00:00
Show the path in the error when a subdirectory can't be listed
This commit is contained in:
@@ -95,7 +95,7 @@ func CreateSnapshotFromDirectory(id string, top string, nobackupFile string, fil
|
|||||||
LOG_ERROR("LIST_FAILURE", "Failed to list the repository root: %v", err)
|
LOG_ERROR("LIST_FAILURE", "Failed to list the repository root: %v", err)
|
||||||
return nil, nil, nil, err
|
return nil, nil, nil, err
|
||||||
}
|
}
|
||||||
LOG_WARN("LIST_FAILURE", "Failed to list subdirectory: %v", err)
|
LOG_WARN("LIST_FAILURE", "Failed to list subdirectory %s: %v", directory.Path, err)
|
||||||
skippedDirectories = append(skippedDirectories, directory.Path)
|
skippedDirectories = append(skippedDirectories, directory.Path)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user