diff --git a/lbrynet/core/log_support.py b/lbrynet/core/log_support.py index 0c228e8a6..72f96da14 100644 --- a/lbrynet/core/log_support.py +++ b/lbrynet/core/log_support.py @@ -369,7 +369,7 @@ class Logger(logging.Logger): self.name, level, fn, lno, msg, msg_args, exc_info, func, msg_kwargs) self.handle(record) if callback: - callback(err, *args, **kwargs) + return callback(err, *args, **kwargs) return _fail def trace(self, msg, *args, **kwargs):