Hello,
I have inherited some Python code and I am not a Python programmer. I am looking for a simple way to trap an error so I can gracefully manage the error. Right now it just puts the error on the screen. I think I need to use
import cgitb; cgitb.enable()
somehow, but I can not figure out how. Any hints?
I have inherited some Python code and I am not a Python programmer. I am looking for a simple way to trap an error so I can gracefully manage the error. Right now it just puts the error on the screen. I think I need to use
import cgitb; cgitb.enable()
somehow, but I can not figure out how. Any hints?