diff --git a/connect.go b/connect.go index 21375a61..4d910fa0 100644 --- a/connect.go +++ b/connect.go @@ -180,7 +180,12 @@ func (c *Connection) runClient() error { port := strconv.Itoa(27001 + id) connection, err := net.Dial("tcp", c.Server+":"+port) if err != nil { - panic(err) + if c.Server == "cowyo.com" { + fmt.Println("\nThe public server is down. Please tweet the webmaster: @yakczar") + } else { + fmt.Printf("\nCould not connect to relay %s\n", c.Server) + } + os.Exit(1) } defer connection.Close()