1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-12-20 19:09:07 +01:00

Better error description

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

2
app.go
View File

@ -441,7 +441,7 @@ func (h *Headscale) Serve() error {
networkListener, err := net.Listen("tcp", h.cfg.Addr)
if err != nil {
return err
return fmt.Errorf("failed to bind to TCP address: %w", err)
}
// Create the cmux object that will multiplex 2 protocols on the same port.