今天服务器 一直报异常

服务器 Input/output error 问题解决

去代码里加上异常捕获 刚开始只知道是  Input/output error 但是定位不到问题具体在哪

服务器 Input/output error 问题解决

 

 将 异常捕获 用 logger.exception 打印 找到位置

服务器 Input/output error 问题解决

 

于是检查代码 自己做本地测试使用了print(xxxx) 上传服务器没有删掉 关掉ssh后就提示了这个错误
总结 服务器不能使用print来做打印测试 因为关掉ssh后就会报这个错误

 

相关文章:

  • 2022-12-23
  • 2021-09-25
  • 2022-12-23
  • 2022-01-02
  • 2022-12-23
  • 2021-05-21
  • 2021-10-17
  • 2022-02-07
猜你喜欢
  • 2021-12-01
  • 2022-01-14
  • 2022-12-23
  • 2022-12-23
  • 2021-04-09
  • 2021-11-16
  • 2021-06-22
相关资源
相似解决方案