Skip to content

Commit fa134fa

Browse files
committed
Log when we fall back to an empty array
1 parent afe445f commit fa134fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Modules/Sources/NetworkingCore/Model/MetaDataArray+FlexibleDecoding.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ extension Array where Element == MetaData {
1818
}
1919

2020
// Fallback to empty array
21+
DDLogWarn("⚠️ Could not decode metadata as either an array or object keyed by index strings. Falling back to empty array.")
2122
return []
2223
}
2324
}

0 commit comments

Comments
 (0)