diff --git a/MoppApp/SetupConfiguration/Sources/main.swift b/MoppApp/SetupConfiguration/Sources/main.swift index b711f1ee..0a8bec2e 100644 --- a/MoppApp/SetupConfiguration/Sources/main.swift +++ b/MoppApp/SetupConfiguration/Sources/main.swift @@ -174,11 +174,11 @@ class SettingsConfiguration: NSObject, URLSessionDelegate, URLSessionTaskDelegat /* MOPP Configuration */ private func decodeMoppConfiguration(configData: String) throws -> MOPPConfiguration { + print(configData) do { - print(configData) return try JSONDecoder().decode(MOPPConfiguration.self, from: configData.data(using: .utf8)!) } catch { - fatalError("Error decoding data: \(error.localizedDescription)") + fatalError("Error decoding data: \(error.localizedDescription), \(configData)") } }