Skip to content

Commit

Permalink
Remove unused code - PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jnewc committed Mar 15, 2024
1 parent 8f2b713 commit 6883112
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,20 +70,6 @@ class SettingsModel: ObservableObject {
if !isClientTokenValid {
try await updateClientToken()
}

do {
// TODO - needed?
} catch {
logger.error(error.localizedDescription)
fetchErrorMessage = ErrorMessages.sdkStart
clientToken = ""

if let error = error as? PrimerDataService.Error {
logger.error(error.message)
}

throw error
}
}

// MARK: Helpers
Expand Down

0 comments on commit 6883112

Please sign in to comment.