From 5b9bd4f9059729785a4e12b04883ee73f22c518c Mon Sep 17 00:00:00 2001 From: wellbye Date: Thu, 21 Jun 2018 09:36:40 +0800 Subject: [PATCH] Update ReactNativeExceptionHandler.m bugfix for wrong userInfo --- ios/ReactNativeExceptionHandler.m | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ios/ReactNativeExceptionHandler.m b/ios/ReactNativeExceptionHandler.m index e8bae91..56f63ef 100644 --- a/ios/ReactNativeExceptionHandler.m +++ b/ios/ReactNativeExceptionHandler.m @@ -199,10 +199,7 @@ void SignalHandler(int signal) [NSString stringWithFormat: NSLocalizedString(@"Signal %d was raised.", nil), signal] - userInfo: - [NSDictionary - dictionaryWithObject:[NSNumber numberWithInt:signal] - forKey:RNUncaughtExceptionHandlerSignalKey]] + userInfo:userInfo] waitUntilDone:YES]; }