make it possible to actually debug connection failures

if the connection fails, then except self.connection_errors doesn't work
because there's no attribute.