Unwanted Optional handling removed
This commit is contained in:
parent
0fd00d05db
commit
5ab30a1930
@ -94,7 +94,7 @@ public struct ModelRegistry {
|
||||
case .decoderErrorUnexpectedType(let actualType, let expectedType, let identifer, let codingKey, let codingPath):
|
||||
errorObject.title = "Decoder Error: Model Type Unexpected"
|
||||
let codingPathConcat = codingPath?.compactMap { $0.stringValue }.joined(separator: " ") ?? ""
|
||||
errorObject.messageToLog = "Actual Type: \(actualType ?? "") Expected Type: \(expectedType ?? "")" + (identifer ?? "") + (codingKey?.stringValue ?? "") + codingPathConcat
|
||||
errorObject.messageToLog = "Actual Type: \(actualType) Expected Type: \(expectedType)" + (identifer) + (codingKey?.stringValue ?? "") + codingPathConcat
|
||||
case .handlerNotMapped(let identifer, let categoryName):
|
||||
errorObject.title = "Handler Not Mapped"
|
||||
errorObject.messageToLog = (identifer ?? "") + (categoryName ?? "")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user