added index into log message

This commit is contained in:
Xiangliang
2023-10-11 10:42:17 -04:00
parent 0846c4a9fc
commit ae7b4fd40a

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