Skip to content

Commit

Permalink
Merge pull request #288 from lilidotshi/master
Browse files Browse the repository at this point in the history
Fix runtime crasher on Xcode 15
  • Loading branch information
RonRadtke authored Aug 15, 2023
2 parents d682742 + faa670c commit 2531333
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ios/ReactNativeBlobUtilFS.mm
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,9 @@ + (void) readStream:(NSString *)uri
free(buffer);

}
@catch (NSError * err)
@catch (NSException * ex)
{
NSDictionary * payload = @{ @"streamId":streamId, @"event": FS_EVENT_ERROR, @"code": @"EUNSPECIFIED", @"detail": [err description] };
NSDictionary * payload = @{ @"streamId":streamId, @"event": FS_EVENT_ERROR, @"code": @"EUNSPECIFIED", @"detail": [ex description] };
[baseModule emitEventDict:EVENT_FILESYSTEM body:payload];
}
@finally
Expand Down

0 comments on commit 2531333

Please sign in to comment.