how to ignore some errors python code example
Example: How do I ignore an error in Python?
Add Source
Use pass to ignore an exception
Within a try and except block, use pass in the except clause to indicate no action is required in handling the caught exception.