Skip to content

Commit

Permalink
reorg logging a bit to track errors
Browse files Browse the repository at this point in the history
  • Loading branch information
roznet committed Oct 14, 2023
1 parent 7862c50 commit dd96b68
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ConnectStats/src/GCConnectStatsRequest.m
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ -(void)signIn{
[self signInGarminStep];
}else{
[self signInConnectStatsStep];
//[self processDone];
}
}else{
[self signInGarminStep];
Expand Down Expand Up @@ -243,6 +242,7 @@ -(void)buildOAuthController{
}

-(void)signInGarminStep{
RZLog(RZLogInfo,@"Starting garmin step");
UIViewController * webCont = [[UIViewController alloc] initWithNibName:nil bundle:nil];
WKWebView * webView = [[WKWebView alloc] initWithFrame:self.navigationController.view.frame];
// keep hold so we can clear the delegate.
Expand Down
2 changes: 1 addition & 1 deletion ConnectStats/src/GCConnectStatsRequestLogin.m
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ -(void)process:(NSData *)theData andDelegate:(id<GCWebRequestDelegate>)delegate{
RZLog(RZLogWarning, @"Invalid user %@ != %@", info[@"cs_user_id"], @(self.userId));
}
}else{
RZLog(RZLogWarning, @"Not data for user validation");
RZLog(RZLogWarning, @"No data for user validation");
}
[self processDone];
}
Expand Down
1 change: 0 additions & 1 deletion ConnectStats/src/GCStravaRequestActivityList.swift
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ import RZUtilsSwift
//MARK: - Processing

override func process(data : Data) {
RZSLog.info("Start process data")
#if targetEnvironment(simulator)
try? data.write(to: URL(fileURLWithPath: RZFileOrganizer.writeableFilePath(self.searchFileName(page: self.page))))
#endif
Expand Down
1 change: 0 additions & 1 deletion ConnectStats/src/GCStravaRequestBase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ class GCStravaRequestBase: GCWebRequestStandard {

override func process() {
self.retrieveCredential()
RZSLog.info("Start Process")
if GCAppGlobal.profile().serviceSuccess(gcService.strava) == false {
let urlscheme = GCAppGlobal.appURLScheme()
RZSLog.info("strava signin start")
Expand Down

0 comments on commit dd96b68

Please sign in to comment.