aboutsummaryrefslogtreecommitdiffstats
path: root/cloud_mdir_sync/gmail.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloud_mdir_sync/gmail.py')
-rw-r--r--cloud_mdir_sync/gmail.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloud_mdir_sync/gmail.py b/cloud_mdir_sync/gmail.py
index dee12f5..3d36e1c 100644
--- a/cloud_mdir_sync/gmail.py
+++ b/cloud_mdir_sync/gmail.py
@@ -57,8 +57,8 @@ def _retry_protect(func):
# Other errors we retry after resetting the mailbox
raise
except (asyncio.TimeoutError,
- aiohttp.client_exceptions.ClientError):
- self.cfg.logger.debug(f"Got non-HTTP Error in {func}")
+ aiohttp.client_exceptions.ClientError) as e:
+ self.cfg.logger.debug(f"Got non-HTTP Error in {func} {e!r}")
await asyncio.sleep(10)
continue