log connection errors