Fix comic reader arrow visiblilty for one paged comic files

Changed logging during kobo sync
This commit is contained in:
Ozzie Isaacs
2023-10-28 07:50:01 +02:00
parent 3d07efbb4f
commit c550d6c90d
2 changed files with 9 additions and 12 deletions

View File

@@ -315,7 +315,7 @@ def generate_sync_response(sync_token, sync_results, set_cont=False):
extra_headers["x-kobo-recent-reads"] = store_response.headers.get("x-kobo-recent-reads")
except Exception as ex:
log.error("Failed to receive or parse response from Kobo's sync endpoint: {}".format(ex))
log.error_or_exception("Failed to receive or parse response from Kobo's sync endpoint: {}".format(ex))
if set_cont:
extra_headers["x-kobo-sync"] = "continue"
sync_token.to_headers(extra_headers)