Unstructured-IO / unstructured-api

Apache License 2.0
489 stars 102 forks source link

fix: handle argument of type 'int' is not iterable #324

Closed awalker4 closed 9 months ago

awalker4 commented 9 months ago

Closes #323

Certain OSErrors come back with an errno in the first arg. We were searching for a substring in here, so we just need to skip the check if e.args[0] is not a string.

The new test case verifies this by raising an error with a errno.