When using PyCharm IDE the use of except: without an exception type triggers a reminder from the IDE that this exception clause is Too broad.
except:
Too broad
Try this:
try: #code except ValueError: pass
I got the answer from this link, if anyone else run into this issue Check it out