Closed GabeMillikan closed 9 months ago
We should be formatting error tracebacks, but not as if they're python code (since they aren't, mostly).
Example of erroneous detection: https://discord.com/channels/238956364729155585/791697255835893821/1144896652986036254
The colors are totally off.
Solution: Create a new code_detection/python_tracebacks which detects tracebacks (with a higher fidelity than code_detection/python already does) so that it will be used for formatting.
code_detection/python_tracebacks
code_detection/python
We should be formatting error tracebacks, but not as if they're python code (since they aren't, mostly).
Example of erroneous detection: https://discord.com/channels/238956364729155585/791697255835893821/1144896652986036254![image](https://github.com/danparizher/Pax-Academia/assets/44247924/8638ce08-041b-43df-8b34-a568d92f058c)
The colors are totally off.
Solution: Create a new
code_detection/python_tracebacks
which detects tracebacks (with a higher fidelity thancode_detection/python
already does) so that it will be used for formatting.