Skip to content

Commit 5cffc87

Browse files
author
Neal Manaktola
committed
add log statement back
1 parent d9ad608 commit 5cffc87

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Libraries/WebSocket/RCTSRWebSocket.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,8 @@ - (void)closeWithCode:(NSInteger)code reason:(NSString *)reason isBlocking:(BOOL
577577

578578
self.readyState = RCTSR_CLOSING;
579579

580+
RCTSRLog(@"Closing with code %ld reason %@", code, reason);
581+
580582
if (wasConnecting) {
581583
[self _disconnect:isBlocking];
582584
return;

0 commit comments

Comments
 (0)