From b63780c2bca0ea6bf03ffcb3cb729c5f5499a6e0 Mon Sep 17 00:00:00 2001 From: Stephen McQuay Date: Wed, 23 Apr 2014 14:45:39 -0700 Subject: [PATCH] Forgot to die if negociation failed. --- gobot/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gobot/main.go b/gobot/main.go index 2c157d3..3489bce 100644 --- a/gobot/main.go +++ b/gobot/main.go @@ -62,7 +62,7 @@ func main() { var err error err = c.Negociate() if err != nil { - log.Printf("%s: failed to negociate: %s", c.Name, err) + log.Fatal("%s: failed to negociate: %s", c.Name, err) } c.Player = hbclient.NewSimplePlayer(