Skip to content

Unhandled exception in +pathIsAZip: #99

@abbeycode

Description

@abbeycode

This line can throw an NSFileHandleOperationException exception, which is a documented eventuality when the file can't be read:

NSData *fileData = [handle readDataOfLength:4];

Instead of crashing, log the exception and return NO.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions