Fix python3 exception when ctrl-c tools/trace.py
The way to do exception printing in python2/3 compatible way is using sys.exc_info()[0/1].
Showing
Please register or sign in to comment
The way to do exception printing in python2/3 compatible way is using sys.exc_info()[0/1].