fix(logger): improve behavior with exc_info=True to prevent errors
#11373
| Job | Run time |
|---|---|
| 1s | |
| 1s |
exc_info=True to prevent errors
#11373
| Job | Run time |
|---|---|
| 1s | |
| 1s |