Skip to content

Commit

Permalink
Remove unneeded attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Crebs committed Jan 28, 2025
1 parent c23149d commit 4a90a3b
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,6 @@ - (void)send:(SFRestRequest *)request requestDelegate:(id<SFRestRequestDelegate>
} failure:^(SFOAuthInfo *authInfo, NSError *error) {
__strong typeof(weakSelf) strongSelf = weakSelf;
[SFSDKCoreLogger e:[strongSelf class] format:@"Authentication failed in SFRestAPI: %@. Logging out.", error];
NSMutableDictionary *attributes = [[NSMutableDictionary alloc] init];
attributes[@"errorCode"] = [NSNumber numberWithInteger:error.code];
attributes[@"errorDescription"] = error.localizedDescription;
[[SFUserAccountManager sharedInstance] logout:SFLogoutReasonUnexpected];
}];
} else {
Expand Down

0 comments on commit 4a90a3b

Please sign in to comment.