Skip to content

Commit

Permalink
Use DNS query to threema.ch for checking internet reachability
Browse files Browse the repository at this point in the history
  • Loading branch information
Threema committed Nov 8, 2023
1 parent f6eee7c commit 4ad62fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Sentry/SentryHttpTransport.m
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ - (id)initWithOptions:(SentryOptions *)options
[self sendAllCachedEnvelopes];

#if !TARGET_OS_WATCH
[self.reachability monitorURL:[NSURL URLWithString:@"https://sentry.io"]
[self.reachability monitorURL:[NSURL URLWithString:@"https://threema.ch"]
usingCallback:^(BOOL connected, NSString *_Nonnull typeDescription) {
if (connected) {
SENTRY_LOG_DEBUG(@"Internet connection is back.");
Expand Down

0 comments on commit 4ad62fe

Please sign in to comment.