Closed awalker4 closed 10 months ago
LGTM
My only concern is casting too large a net for MS errors and overlooking something else happening. But it makes sense to remove the string check since that seems to be the only message that's returned by zipfile.BadZipFile
We've seen this error in the hosted api:
The if block in the check for
zipfile.BadZipFile
allows us to fall through without assigningelements
. Instead, we should raise a 400 error when we catch this exception.