Skip to content

Commit 597f32e

Browse files
MAKARDMAKARD01
andauthored
fix(iOS): Do not pass exception instance to rejecter (#111)
Co-authored-by: MAKARD01 <[email protected]>
1 parent 188cdf9 commit 597f32e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/RNCookieManagerIOS/RNCookieManagerIOS.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ + (BOOL)requiresMainQueueSetup
5454
cookie = [self makeHTTPCookieObject:url props:props];
5555
}
5656
@catch ( NSException *e ) {
57-
reject(@"", [e reason], e);
57+
reject(@"", [e reason], nil);
5858
return;
5959
}
6060

0 commit comments

Comments
 (0)