From: Matt Joiner Date: Fri, 23 May 2014 11:02:11 +0000 (+1000) Subject: dat new-world-style panic X-Git-Tag: v1.0.0~1729 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=dfde2a3497f8f17fbeecac7b09c948de3bf3c00b;p=btrtrc.git dat new-world-style panic --- diff --git a/client.go b/client.go index 12c928f5..49e80cf4 100644 --- a/client.go +++ b/client.go @@ -485,7 +485,7 @@ func (me *Client) dropConnection(torrent *torrent, conn *connection) { torrent.Conns = torrent.Conns[:i1] return } - panic("no such Connection") + panic("connection not found") } func (me *Client) addConnection(t *torrent, c *connection) bool {