Skip to content

Commit

Permalink
chore: add red dot
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicGBauer committed Feb 10, 2025
1 parent c4e021c commit 6e28542
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Sources/PowerSync/PowerSyncBackendConnectorAdapter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ class PowerSyncBackendConnectorAdapter: KotlinPowerSyncBackendConnector {
return result?.kotlinCredentials
} catch {
if #available(iOS 14.0, *) {
Logger().error("Failed to fetch credentials: \(error.localizedDescription)")
Logger().error("🔴 Failed to fetch credentials: \(error.localizedDescription)")
} else {
print("Failed to fetch credentials: \(error.localizedDescription)")
print("🔴 Failed to fetch credentials: \(error.localizedDescription)")
}
return nil
}
Expand All @@ -29,9 +29,9 @@ class PowerSyncBackendConnectorAdapter: KotlinPowerSyncBackendConnector {
return try await swiftBackendConnector.uploadData(database: swiftDatabase)
} catch {
if #available(iOS 14.0, *) {
Logger().error("Failed to upload data: \(error)")
Logger().error("🔴 Failed to upload data: \(error)")
} else {
print("Failed to upload data: \(error)")
print("🔴 Failed to upload data: \(error)")
}
}
}
Expand Down

0 comments on commit 6e28542

Please sign in to comment.