From 0b0150ad73c52ea5b23def899edb819bd3318eb1 Mon Sep 17 00:00:00 2001 From: Jack Date: Wed, 16 Nov 2016 19:10:49 -0500 Subject: [PATCH] fix uncaught analytics exception --- lbrynet/analytics/api.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lbrynet/analytics/api.py b/lbrynet/analytics/api.py index f064a466d..438ba1084 100644 --- a/lbrynet/analytics/api.py +++ b/lbrynet/analytics/api.py @@ -16,6 +16,8 @@ def log_response(fn): def _log(future): if future.cancelled(): log.warning('Request was unexpectedly cancelled') + elif future.exception(): + log.warning(future.exception_info()) else: response = future.result() log.debug('Response (%s): %s', response.status_code, response.content)