The best I have got is the error message using:
Code: Select all
except Exception as e:
text = str(e)
Thanks, Matt
Code: Select all
except Exception as e:
text = str(e)
Code: Select all
except Exception as e:
log.critical('--- Caught Exception ---')
import sys
sys.print_exception(e)
log.critical('----------------------------')