save exception traceback