From dfde2a3497f8f17fbeecac7b09c948de3bf3c00b Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Fri, 23 May 2014 21:02:11 +1000 Subject: [PATCH] dat new-world-style panic --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.48.1