fix logging

This commit is contained in:
Jack Robison 2019-05-03 16:36:24 -04:00
parent 4e32b69d1d
commit bd6a609b30
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -356,7 +356,7 @@ class ManagedStream:
)) ))
self.finished_writing.set() self.finished_writing.set()
log.info("finished saving file for lbry://%s#%s (sd hash %s...) -> %s", self.claim_name, self.claim_id, log.info("finished saving file for lbry://%s#%s (sd hash %s...) -> %s", self.claim_name, self.claim_id,
self.sd_hash[:6]) self.sd_hash[:6], self.full_path)
except Exception as err: except Exception as err:
if os.path.isfile(output_path): if os.path.isfile(output_path):
log.warning("removing incomplete download %s for %s", output_path, self.sd_hash) log.warning("removing incomplete download %s for %s", output_path, self.sd_hash)