From cfe73a862714e576fe074b00f3ad62b899df1800 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Thu, 7 Sep 2017 11:55:41 -0400 Subject: [PATCH] fix hanging streamprogressmanager --- lbrynet/core/client/StreamProgressManager.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lbrynet/core/client/StreamProgressManager.py b/lbrynet/core/client/StreamProgressManager.py index 29aea9d1a..d28112ac6 100644 --- a/lbrynet/core/client/StreamProgressManager.py +++ b/lbrynet/core/client/StreamProgressManager.py @@ -154,10 +154,11 @@ class FullStreamProgressManager(StreamProgressManager): d.addCallback(lambda _: check_if_finished()) def log_error(err): - log.warning("Error occurred in the output loop. Error: %s", err.getErrorMessage()) + log.warning("Error occurred in the output loop. Error: %s", err) if self.outputting_d is not None and not self.outputting_d.called: self.outputting_d.callback(True) self.outputting_d = None + self.stop() d.addErrback(log_error) else: