Skip to content

Commit

Permalink
Show the path in the error when a subdirectory can't be listed
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbertchen committed Jan 4, 2021
1 parent 4104c2f commit 4cfecf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/duplicacy_snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
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)
continue
}
Expand Down

0 comments on commit 4cfecf1

Please sign in to comment.