mockingbot / react-native-zip-archive

Zip archive utility for react-native
MIT License
420 stars 154 forks source link

Request - more fine grained error messages on iOS #299

Open robrechtme opened 7 months ago

robrechtme commented 7 months ago

Hi

We see some occurrences of Error: unable to zip popping up on Sentry. However, we have zero clue what went wrong for those particular users.

Looking at the code of RNZipArchive.m, I see 4 different occurrences of

NSError *error = nil;
reject(@"zip_error", @"unable to zip", error);

Would it be possible to have a bit more fine-grained error messages? If you want, I can look into making a PR. However I am not that familiar with the library or iOS development in general.