File tree Expand file tree Collapse file tree
Source/SwiftyDropbox/Shared/Handwritten Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ public class DropboxClientsManager {
5050 oauthSetupIntent: OAuthSetupContext ,
5151 requestsToReconnect: RequestsToReconnect ? = nil
5252 ) {
53- print ( " GoodNotes Dropbox CLient Manager " )
53+ LogHelper . log ( . info , " Setup GoodNotes Dropbox Clients Manager" )
5454 precondition (
5555 DropboxOAuthManager . sharedOAuthManager == nil ,
5656 " Only call `DropboxClientsManager.setupWithAppKey` or `DropboxClientsManager.setupWithTeamAppKey` once "
Original file line number Diff line number Diff line change @@ -378,10 +378,12 @@ public class DropboxOAuthManager: AccessTokenRefreshing {
378378 @discardableResult
379379 public func storeAccessToken( _ token: DropboxAccessToken ) -> Bool {
380380 do {
381+ LogHelper . log ( . info, " attempt to store access token " )
381382 let jsonEncoder = JSONEncoder ( )
382383 let data = try jsonEncoder. encode ( token)
383384 return secureStorageAccess. setAccessTokenData ( for: token. uid, data: data)
384385 } catch {
386+ LogHelper . log ( . error, " failed to store access token: \( error. localizedDescription) " )
385387 return false
386388 }
387389 }
You can’t perform that action at this time.
0 commit comments