colored-traceback.py
colored-traceback.py copied to clipboard
Does not work on anything but final exit traceback
% python --version
Python 3.12.7
python-colored-traceback 0.3.0-5
I was hoping it would colorize everything.
Visual Studio Code's (FOSS one) terminal running zsh on Arch Linux.
Ah, yes, that sure would be nice. The last one there gets colored because it's unhandled, but the prior ones are handled and logged via python's logger subsystem, so to color them we'd need to attach a custom log formatter to the relevant handler.