toggl/bugsnag — pull request #5 by ianrose14 (2014-05-07 02:08:21+00:00)
Title: Fix: resp.Body.Close() is not called in all cases

In the current code, resp.Body.Close() is only called if (a) resp.StatusCode == 200 and (b) Verbose is true. In all other cases, resp.Body.Close() is not called and thus the calling process will leak a file descriptor.