once again, should be fairly stable

This commit is contained in:
piair
2023-04-02 12:32:21 +02:00
parent ccf284f6e2
commit d579a2c160
2 changed files with 10 additions and 6 deletions

View File

@ -50,7 +50,7 @@ def format_error(e) -> str:
tb = e.__traceback__
txt = ""
while tb != None :
txt = txt + f" ({tb.tb_lineno}) -> {tb.tb_frame.f_code.co_name}"
txt = txt + f" -> {tb.tb_frame.f_code.co_name} ({tb.tb_lineno}) "
tb = tb.tb_next
return(txt + "\n" + str(e))