Skip to content

Conversation

@refnil
Copy link
Collaborator

@refnil refnil commented Sep 26, 2021

No description provided.

- Add the source name as a parameter to the Update arrow
- Add a test to check that the prefetch worked
Copy link
Owner

@nmattia nmattia left a comment

Choose a reason for hiding this comment

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

Sorry I'm a bit out of the loop here. Can you clarify what issue this fixes and how? Thanks!

checkNixPrefetchUrlNotFound :: T.Text -> T.Text -> IO ()
checkNixPrefetchUrlNotFound url serr = do
guard ("HTTP error 404" `T.isInfixOf` serr)
abort $
Copy link
Owner

Choose a reason for hiding this comment

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

Very cool! Can we still print the error just in case?

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