Remove print statement, get rid of cut and paste error

This commit is contained in:
Garth Vander Houwen 2025-12-21 12:10:55 -08:00
parent 9df03c339e
commit 6e50872df3
2 changed files with 3 additions and 2 deletions

View file

@ -148,7 +148,7 @@ extension UserEntity {
return "THINKNODEM2"
case "THINKNODEM3":
return "THINKNODEM3"
case "THINKNODEM3":
case "THINKNODEM4":
return "THINKNODEM4"
/// DIY Devices
case "RPIPICO":

View file

@ -6,6 +6,7 @@
//
import Foundation
import OSLog
@propertyWrapper
struct UserDefault<T: Decodable> {
@ -205,7 +206,7 @@ extension UserDefaults {
// Store the Data in UserDefaults
UserDefaults.standard.set(data, forKey: Keys.manualConnections.rawValue)
} catch {
print("Failed to encode manualConnections: \(error)")
Logger.transport.error("💥 Failed to encode manualConnections: \(error, privacy: .public)")
}
}
}