Better error description

Co-authored-by: Kristoffer Dalby <kradalby@kradalby.no>
This commit is contained in:
Eugen Biegler 2021-12-07 11:44:00 +01:00 committed by GitHub
parent 54c2306637
commit b4cce22415
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
app.go
View File

@ -423,7 +423,7 @@ func (h *Headscale) Serve() error {
socketListener, err := net.Listen("unix", h.cfg.UnixSocket) socketListener, err := net.Listen("unix", h.cfg.UnixSocket)
if err != nil { 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: // Handle common process-killing signals so we can gracefully shut down: