agent/cache: differentiate open log messages (#13362)
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.
This commit is contained in:
parent
85f5cfc356
commit
bfa008d78f
|
@ -565,7 +565,7 @@ func (c *AgentCommand) Run(args []string) int {
|
||||||
AAD: aad,
|
AAD: aad,
|
||||||
})
|
})
|
||||||
if err != nil {
|
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
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue