Skip to content

Commit faa670c

Browse files
committed
Fix runtime crasher on Xcode 15
1 parent d682742 commit faa670c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ios/ReactNativeBlobUtilFS.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,9 @@ + (void) readStream:(NSString *)uri
210210
free(buffer);
211211

212212
}
213-
@catch (NSError * err)
213+
@catch (NSException * ex)
214214
{
215-
NSDictionary * payload = @{ @"streamId":streamId, @"event": FS_EVENT_ERROR, @"code": @"EUNSPECIFIED", @"detail": [err description] };
215+
NSDictionary * payload = @{ @"streamId":streamId, @"event": FS_EVENT_ERROR, @"code": @"EUNSPECIFIED", @"detail": [ex description] };
216216
[baseModule emitEventDict:EVENT_FILESYSTEM body:payload];
217217
}
218218
@finally

0 commit comments

Comments
 (0)