捕捉error 打印出来
try:
......
except Exception as err: print(f" detail:{err}")
raise 相当于return ,运行暂停
except Exception as err: raise err