Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added statusCode to NImageFetchError #15

Merged

Conversation

albertopeam
Copy link
Contributor

No description provided.

func testImageNotFound() {
let url = URL(string: "https://www.nomasystems.com/404.png")!
func testImageNotFound() throws {
let url = try XCTUnwrap(URL(string: "https://github.com/nomasystems/nimagefetch-ios/blob/main/404.png"))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"https://www.nomasystems.com/404.png" was returning a 403 so I changed it to get a real 404

@albertopeam
Copy link
Contributor Author

@albertocsouto @josecriane could you take a look?

@albertopeam
Copy link
Contributor Author

@albertocsouto @josecriane could you take a look?

Hi guys, could you take a look? it should be quickly as it is an small PR
@albertocsouto @josecriane

@albertocsouto
Copy link
Collaborator

albertocsouto commented Nov 28, 2022

Thanks! Closes #6

@albertocsouto albertocsouto merged commit 51f27b6 into nomasystems:main Nov 28, 2022
@albertopeam albertopeam deleted the feature/propagate-network-errors branch November 29, 2022 19:11
@albertopeam
Copy link
Contributor Author

Thanks @albertocsouto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants