We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17a26bf commit 3687518Copy full SHA for 3687518
Sources/Sentry/SentryOptions.m
@@ -395,7 +395,9 @@ - (void)setConfigureUserFeedback:(SentryUserFeedbackConfigurationBlock)configure
395
SentryUserFeedbackConfiguration *userFeedbackConfiguration =
396
[[SentryUserFeedbackConfiguration alloc] init];
397
self.userFeedbackConfiguration = userFeedbackConfiguration;
398
- configureUserFeedback(userFeedbackConfiguration);
+ if (userFeedbackConfiguration) {
399
+ configureUserFeedback(userFeedbackConfiguration);
400
+ }
401
}
402
#endif // TARGET_OS_IOS && SENTRY_HAS_UIKIT
403
0 commit comments