Avoiding “Too broad exception clause” warning in PyCharm

前端 未结 0 690
栀梦
栀梦 2021-02-11 16:25

I\'m writing an exception clause at the top level of a script, and I just want it to log whatever errors occur. Annoyingly, PyCharm complains if I just catch Exception

相关标签:
回答
  • 消灭零回复
提交回复
热议问题