Skip to content

Commit

Permalink
Error cleanup. (#932)
Browse files Browse the repository at this point in the history
  • Loading branch information
joel-rieke committed Feb 2, 2024
1 parent 31f6637 commit ac99c77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/capauth/agentconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,10 @@ func PenseQuery(config *eUtils.DriverConfig, pense string) (*string, error) {
}

if capWriteErr != nil || gTrcHatSecretsPort == "" {
fmt.Println("Code 54 failure...")
fmt.Println("Code 54 failure... Possible deploy components mismatch..")
// 2023-06-30T01:29:21.7020686Z read unix @->/tmp/trccarrier/trcsnap.sock: read: connection reset by peer
// os.Exit(-1) // restarting carrier will rebuild necessary resources...
return new(string), errors.Join(errors.New("Tap writer error"), capWriteErr)
return new(string), errors.New("Tap writer error")
}

localIP, err := LocalIp(config.EnvRaw)
Expand Down

0 comments on commit ac99c77

Please sign in to comment.