Skip to content

Commit

Permalink
fix: Try fix api_log test error in unfortunate timing scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
xmatthias committed Jan 6, 2025
1 parent 64c2c6a commit c266490
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions freqtrade/rpc/rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1283,6 +1283,7 @@ def _rpc_get_logs(limit: int | None) -> dict[str, Any]:
r.message + ("\n" + r.exc_text if r.exc_text else ""),
]
for r in buffer
if hasattr(r, "message")
]

# Log format:
Expand Down

0 comments on commit c266490

Please sign in to comment.