cfcsim / pyfsd

Pluggable flight simulation server, written in Python asyncio
https://cfcsim.github.io/pyfsd/
MIT License
6 stars 3 forks source link

using <exception caught here> in logger #2

Closed ghost closed 1 year ago

ghost commented 1 year ago

belike Screenshot_20230808-140806203

ghost commented 1 year ago

Why ~fake frame (twisted.failure._Failure)~ frame happened in site doesn't get colorful traceback?

ghost commented 1 year ago

Why fake frame (twisted.failure._Failure) doesn't get colorful traceback?

https://github.com/Delgan/loguru/blob/9fc929a54ae6ef92208c90ebafd449b8f9e3e34a/loguru/_better_exceptions.py#L206 https://github.com/Delgan/loguru/blob/9fc929a54ae6ef92208c90ebafd449b8f9e3e34a/loguru/_better_exceptions.py#L151 ~Ok.... a limit in loguru.~ ~Not really. I modified colorize to True and nothing changed~ Really. https://github.com/Delgan/loguru/blob/9fc929a54ae6ef92208c90ebafd449b8f9e3e34a/loguru/_better_exceptions.py#L328

ghost commented 1 year ago

Now logger cannot ignore metar parsing warnings