Skip to content

Commit

Permalink
Better error description
Browse files Browse the repository at this point in the history
Co-authored-by: Kristoffer Dalby <kradalby@kradalby.no>
  • Loading branch information
negbie and kradalby authored Dec 7, 2021
1 parent 54c2306 commit b4cce22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.go
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ func (h *Headscale) Serve() error {

socketListener, err := net.Listen("unix", h.cfg.UnixSocket)
if err != nil {
return err
return fmt.Errorf("failed to set up gRPC socket: %w", err)
}

// Handle common process-killing signals so we can gracefully shut down:
Expand Down

0 comments on commit b4cce22

Please sign in to comment.