Skip to content

Commit c266490

Browse files
committed
fix: Try fix api_log test error in unfortunate timing scenarios
1 parent 64c2c6a commit c266490

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

freqtrade/rpc/rpc.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1283,6 +1283,7 @@ def _rpc_get_logs(limit: int | None) -> dict[str, Any]:
12831283
r.message + ("\n" + r.exc_text if r.exc_text else ""),
12841284
]
12851285
for r in buffer
1286+
if hasattr(r, "message")
12861287
]
12871288

12881289
# Log format:

0 commit comments

Comments
 (0)