Skip to content

Commit

Permalink
Merge pull request #2241 from rsteube/shim-log-error-message
Browse files Browse the repository at this point in the history
shim: log error message
  • Loading branch information
rsteube authored Feb 14, 2024
2 parents 7f9bc23 + 4f5c0c0 commit d1a1271
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/carapace/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,11 @@ func Execute(version string) error {
}

if err := shim.Update(); err != nil {
println(err.Error()) // TODO fail / exit 1 ?
carapace.LOG.Printf("failed to update shims: %v", err.Error())
}

if err := createOverlayDir(); err != nil { // TODO do this only if needed
println(err.Error())
carapace.LOG.Printf("failed to create overlay directory: %v", err.Error())
}

switch shell {
Expand Down

0 comments on commit d1a1271

Please sign in to comment.