Skip to content

Commit

Permalink
daemon: Fix error wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
vHanda committed May 5, 2022
1 parent 6695fd9 commit cb8c89a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func isValidGitRepo(repoPath string) error {

_, err = git.PlainOpen(repoPath)
if err != nil {
return tracerr.Errorf("%w - %s\n%w", errRepoPathInvalid, repoPath, err)
return tracerr.Errorf("Not a valid git repo - %s\n%w", repoPath, err)
}

return nil
Expand Down

0 comments on commit cb8c89a

Please sign in to comment.