Skip to content

Commit

Permalink
don't disable this after just one failure
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronpk committed Jan 16, 2019
1 parent fdd1835 commit ee6acbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GPSLogger/GLManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -1277,8 +1277,8 @@ - (void)retrieveCurrentFlightData {
} failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) {
NSLog(@"Error retrieving in-flight data");
// If there was a problem, disable tracking
// TODO: remove this when re-enabling auto detection
self.gogoTracker = NO;
// TODO: maybe do this after some amount of failures?
// self.gogoTracker = NO;
[self _resetFlightTrackerAndStartAgain];
}];

Expand Down

0 comments on commit ee6acbf

Please sign in to comment.