From b4cce224154b9dd70bb26f6c07c826c1fc55cacb Mon Sep 17 00:00:00 2001 From: Eugen Biegler Date: Tue, 7 Dec 2021 11:44:00 +0100 Subject: [PATCH] Better error description Co-authored-by: Kristoffer Dalby --- app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.go b/app.go index 2d3f69c..696d8f4 100644 --- a/app.go +++ b/app.go @@ -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: