Skip to content

Commit

Permalink
agent/cache: differentiate open log messages (#13362)
Browse files Browse the repository at this point in the history
Changes the error output for the second open of the persistent cache
file, to differentiate it from the c.UI.Error message for the initial
open of the cache file, just to make it easier to tell where a problem
occurred.
  • Loading branch information
tvoran authored Dec 8, 2021
1 parent ad131f2 commit 9776f82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ func (c *AgentCommand) Run(args []string) int {
AAD: aad,
})
if err != nil {
c.UI.Error(fmt.Sprintf("Error opening persistent cache: %v", err))
c.UI.Error(fmt.Sprintf("Error opening persistent cache with wrapper: %v", err))
return 1
}

Expand Down

0 comments on commit 9776f82

Please sign in to comment.