Hi Team,
I found little bit of solution , which I was looking for.
I am splitting errors message into list. and printing each value.
is there any alternate easy solution. to get correct info. thanks in advance !
mg
I found little bit of solution , which I was looking for.
I am splitting errors message into list. and printing each value.
is there any alternate easy solution. to get correct info. thanks in advance !
import traceback try: print(4/0) except ZeroDivisionError: error = traceback.format_exc() for e in (error.split('\n')): if not "Traceback" in e: print(e)Thanks
mg