Skip to content

Commit

Permalink
fix: Output error information when the agent service start fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Danny-Wei committed Nov 8, 2024
1 parent 38d948e commit 20342e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func NewAgent(

go func() {
if err := r.Run(fmt.Sprintf(":%d", varmorconfig.AgentServicePort)); err != nil {
panic(err)
log.Error(err, "fatal error: agent service failed to start")
}
}()

Expand Down

0 comments on commit 20342e2

Please sign in to comment.