Skip to content

Commit

Permalink
add logging to cllocation error
Browse files Browse the repository at this point in the history
  • Loading branch information
KennyHuRadar authored and lmeier committed Jan 17, 2025
1 parent bb4a26c commit 30aa4db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions RadarSDK/RadarLocationManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -1166,6 +1166,7 @@ - (void)locationManager:(CLLocationManager *)manager didVisit:(CLVisit *)visit {
}

- (void)locationManager:(CLLocationManager *)manager didFailWithError:(NSError *)error {
[[RadarLogger sharedInstance] logWithLevel:RadarLogLevelDebug message:[NSString stringWithFormat:@"CLLocation manager error | error = %@", error]];
[[RadarDelegateHolder sharedInstance] didFailWithStatus:RadarStatusErrorLocation];

[self callCompletionHandlersWithStatus:RadarStatusErrorLocation location:nil];
Expand Down

0 comments on commit 30aa4db

Please sign in to comment.