Skip to content

Commit

Permalink
Update response info.
Browse files Browse the repository at this point in the history
  • Loading branch information
bullinnyc committed Jul 1, 2023
1 parent 429db36 commit 630775c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Sources/CachedAsyncImage/Services/NetworkManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,14 @@ final class NetworkManager: NetworkManagerProtocol {
}

#if DEBUG
let message = "**** CachedAsyncImage. Status code:"
print("\(message) \(urlResponse.statusCode)")
let message = """
****
CachedAsyncImage response.
From: \(urlResponse.url?.absoluteString ?? "")
Status code: \(urlResponse.statusCode)
"""

print(message)
#endif

return tuple.data
Expand Down

0 comments on commit 630775c

Please sign in to comment.