fix: Print HTTP response body on errors.

This commit is contained in:
Elisiário Couto
2024-03-06 18:32:14 +00:00
parent 4f2daa7953
commit ee30bff5ef
2 changed files with 5 additions and 6 deletions

View File

@@ -119,5 +119,5 @@ def sync(ctx: click.Context):
for account in accounts:
try:
save_transactions(ctx, account)
except Exception as e:
error(f"[{account}] Error: Sync failed, skipping account. Exception: {e}")
except Exception:
error(f"[{account}] Error: Sync failed, skipping account.")