mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-26 08:53:05 +00:00
Better error description
Co-authored-by: Kristoffer Dalby <kradalby@kradalby.no>
This commit is contained in:
parent
b4cce22415
commit
5a504fa711
1 changed files with 1 additions and 1 deletions
2
app.go
2
app.go
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue