You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
enhancementImprove existing functionality or make things work bettergood first issueClearly described and easy to accomplish. Good for beginners to the project.
As discussed in #8511, retry can produce very large logs if the retried coro has a very large string representation.
We can probably truncate the string representation to avoid this. If there are cases where truncating would remove relevant information, please speak up.
I'd like to work on this. Will truncate the string representation of coro in the retry function's log output to prevent excessively large logs. Submitting a PR shortly.
enhancementImprove existing functionality or make things work bettergood first issueClearly described and easy to accomplish. Good for beginners to the project.
Activity
hendrikmakait commentedon Feb 26, 2024
TIL: There is
reprlib, which could be useful (https://docs.python.org/3/library/reprlib.html).ernestprovo23 commentedon Feb 22, 2026
I'd like to work on this. Will truncate the string representation of
coroin theretryfunction's log output to prevent excessively large logs. Submitting a PR shortly.Truncate large coro repr in retry log output
Truncate large coro repr in retry log output