Skip to content

Commit

Permalink
Merge branch 'feature/MBX-2706-main-branch-modal-view' into release/2…
Browse files Browse the repository at this point in the history
….8.0-rc
  • Loading branch information
Akylbek Utekeshev committed Aug 29, 2023
2 parents d725fb5 + ba7b1d3 commit 1e51c5f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ class ImageDownloadService: ImageDownloadServiceProtocol {
Logger.common(message: "Failed to download image for url: \(url). \nError: \(error.localizedDescription)", level: .debug, category: .inAppMessages)
if error.code == NSURLErrorTimedOut {
completion(.failure(error))
} else {
completion(.failure(error))
}
} else if let response = response, response.statusCode != 200 {
Logger.common(message: "Image download failed with status code \(response.statusCode). [URL]: \(url)", level: .debug, category: .inAppMessages)
Expand Down

0 comments on commit 1e51c5f

Please sign in to comment.