Skip to content

Commit

Permalink
Print RCS error message (#1452)
Browse files Browse the repository at this point in the history
Fixes #1119

RELEASE_NOTES=[BUGFIX] Print RCS error message

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
  • Loading branch information
dominikschulz authored Jul 17, 2020
1 parent 4b4a307 commit 0ecb718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/action/clone.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func (s *Action) clone(ctx context.Context, repo, mount, path string) error {
// clone repo
debug.Log("Cloning repo '%s' to '%s'", repo, path)
if _, err := backend.CloneRCS(ctx, rcsBackendOrDefault(ctx), repo, path); err != nil {
return ExitError(ExitGit, err, "failed to clone repo '%s' to '%s'", repo, path)
return ExitError(ExitGit, err, "failed to clone repo '%s' to '%s': %s", repo, path, err)
}

// add mount
Expand Down

0 comments on commit 0ecb718

Please sign in to comment.