Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RuiAAPeres committed Aug 12, 2022
1 parent f7e0179 commit d1f5273
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Sources/VitalCore/Core/Client/VitalClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public class VitalClient {
try secureStorage.set(value: securePayload, key: core_secureStorageKey)
}
catch {
logger?.info("We weren't able to securely store VitalCoreSecurePayload: \(error)")
logger?.info("We weren't able to securely store VitalCoreSecurePayload: \(error.localizedDescription)")
}
}

Expand Down Expand Up @@ -216,7 +216,7 @@ public class VitalClient {
try secureStorage.set(value: userId, key: user_secureStorageKey)
}
catch {
configuration.logger?.info("We weren't able to securely store VitalCoreSecurePayload: \(error)")
configuration.logger?.info("We weren't able to securely store VitalCoreSecurePayload: \(error.localizedDescription)")
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public class VitalHealthKitClient {
try secureStorage.set(value: configuration, key: health_secureStorageKey)
}
catch {
logger?.info("We weren't able to securely store Configuration: \(error)")
logger?.info("We weren't able to securely store Configuration: \(error.localizedDescription)")
}
}

Expand Down

0 comments on commit d1f5273

Please sign in to comment.