diff --git a/config.go b/config.go index 79e2a81..19dfe9f 100644 --- a/config.go +++ b/config.go @@ -51,7 +51,7 @@ func loadConfig() (*config, error) { // Compute the actual bind address based on the provided interface iface, err := net.InterfaceByName(config.BindIface) if err != nil { - return nil, fmt.Errorf("cannot find interface %s", config.BindIface) + return nil, fmt.Errorf("could not get interface by name %s: %w", config.BindIface, err) } addrs, err := iface.Addrs() if err != nil {