diff --git a/cmd/tun2socks/main.go b/cmd/tun2socks/main.go index 3a39451c..81262504 100644 --- a/cmd/tun2socks/main.go +++ b/cmd/tun2socks/main.go @@ -164,7 +164,7 @@ func main() { if creater, found := handlerCreater[*args.ProxyType]; found { creater() } else { - log.Fatalf("unsupported proxy type") + log.Fatalf("unsupported proxy type: %s", *args.ProxyType) } if args.DnsFallback != nil && *args.DnsFallback {