diff --git a/ios/RNCallKeep/RNCallKeep.m b/ios/RNCallKeep/RNCallKeep.m index 786045fe..475cd623 100644 --- a/ios/RNCallKeep/RNCallKeep.m +++ b/ios/RNCallKeep/RNCallKeep.m @@ -538,7 +538,7 @@ + (void)setup:(NSDictionary *)options { } @catch ( NSException *e ){ NSLog(@"[RNCallKeep][setAudioRoute] exception: %@",e); - reject(@"Failure to set audio route", e, nil); + reject(@"Failure to set audio route", e.description, nil); } } @@ -555,7 +555,7 @@ + (void)setup:(NSDictionary *)options { } @catch ( NSException *e ) { NSLog(@"[RNCallKeep][getAudioRoutes] exception: %@",e); - reject(@"Failure to get audio routes", e, nil); + reject(@"Failure to get audio routes", e.description, nil); } }