diff --git a/CHANGELOG.md b/CHANGELOG.md index 851316e07..713142363 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,7 +17,7 @@ at anytime. * ### Fixed - * + * Fixed some log messages throwing exceptions * ### Deprecated diff --git a/lbrynet/lbryfilemanager/EncryptedFileDownloader.py b/lbrynet/lbryfilemanager/EncryptedFileDownloader.py index c00a3ebe3..d6d83c019 100644 --- a/lbrynet/lbryfilemanager/EncryptedFileDownloader.py +++ b/lbrynet/lbryfilemanager/EncryptedFileDownloader.py @@ -83,7 +83,7 @@ class ManagedEncryptedFileDownloader(EncryptedFileSaver): @defer.inlineCallbacks def stop(self, err=None, change_status=True): - log.debug('Stopping download for %s', short_hash(self.sd_hash)) + log.debug('Stopping download for stream %s', short_hash(self.stream_hash)) # EncryptedFileSaver deletes metadata when it's stopped. We don't want that here. yield EncryptedFileDownloader.stop(self, err=err) if change_status is True: diff --git a/lbrynet/lbrynet_daemon/Daemon.py b/lbrynet/lbrynet_daemon/Daemon.py index 972adc8a1..ab684cec2 100644 --- a/lbrynet/lbrynet_daemon/Daemon.py +++ b/lbrynet/lbrynet_daemon/Daemon.py @@ -1626,7 +1626,7 @@ class Daemon(AuthJSONRPCServer): del self.streams[lbry_file.claim_id] yield self.lbry_file_manager.delete_lbry_file(lbry_file, delete_file=delete_from_download_dir) - log.info("Deleted %s (%s)", file_name, utils.short_hash(stream_hash)) + log.info("Deleted file: %s", file_name) result = True response = yield self._render_response(result)