Skip to content

Commit

Permalink
优化日志输出
Browse files Browse the repository at this point in the history
  • Loading branch information
Mccc committed Dec 10, 2024
1 parent c926e21 commit 67b2dee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SmartCodable/Classes/SmartCodable/SmartEncodable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ fileprivate func _transformToJson<T>(_ some: Encodable, type: Any.Type, useMappe
if let temp = json as? T {
return temp
} else {
SmartSentinel.monitorAndPrint(debugDescription: "\(json)) is not a valid Type", error: nil, in: type)
SmartSentinel.monitorAndPrint(debugDescription: "\(json)) is not a valid Type, wanted \(T.self) type.", error: nil, in: type)
}
} catch {
SmartSentinel.monitorAndPrint(debugDescription: "'JSONSerialization.jsonObject(:)' falied", error: nil, in: type)
Expand Down

0 comments on commit 67b2dee

Please sign in to comment.