mirror of
https://github.com/elisiariocouto/leggen.git
synced 2025-12-14 07:22:25 +00:00
fix: Print HTTP response body on errors.
This commit is contained in:
@@ -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.")
|
||||
|
||||
Reference in New Issue
Block a user