### 1except Exception as e: print(traceback.format_exc())
def _handle_thread_exception(request, exc_info): """默认的异常处理函数,只是简单的打印""" traceback.print_exception(*exc_info)
posted on 2018-12-28 19:20 jwang106 阅读(287) 评论(0) 编辑 收藏 举报