Skip to content

Commit 6e28542

Browse files
committed
chore: add red dot
1 parent c4e021c commit 6e28542

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Sources/PowerSync/PowerSyncBackendConnectorAdapter.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ class PowerSyncBackendConnectorAdapter: KotlinPowerSyncBackendConnector {
1515
return result?.kotlinCredentials
1616
} catch {
1717
if #available(iOS 14.0, *) {
18-
Logger().error("Failed to fetch credentials: \(error.localizedDescription)")
18+
Logger().error("🔴 Failed to fetch credentials: \(error.localizedDescription)")
1919
} else {
20-
print("Failed to fetch credentials: \(error.localizedDescription)")
20+
print("🔴 Failed to fetch credentials: \(error.localizedDescription)")
2121
}
2222
return nil
2323
}
@@ -29,9 +29,9 @@ class PowerSyncBackendConnectorAdapter: KotlinPowerSyncBackendConnector {
2929
return try await swiftBackendConnector.uploadData(database: swiftDatabase)
3030
} catch {
3131
if #available(iOS 14.0, *) {
32-
Logger().error("Failed to upload data: \(error)")
32+
Logger().error("🔴 Failed to upload data: \(error)")
3333
} else {
34-
print("Failed to upload data: \(error)")
34+
print("🔴 Failed to upload data: \(error)")
3535
}
3636
}
3737
}

0 commit comments

Comments
 (0)