Merge pull request #148 from insualk/log-patch

added index into log message
This commit is contained in:
yihong
2023-10-12 08:52:39 +08:00
committed by GitHub

View File

@@ -522,7 +522,7 @@ class Kindle:
pass
except Exception as e:
logger.error(str(e))
logger.error(f"Title: {title}, Asin: {asin} download failed")
logger.error(f"Index: {index + 1}, Title: {title}, Asin: {asin} download failed")
def download_books(self, start_index=0, filetype="EBOK"):
# use default device