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

feeds/: Allow for per package/feed error handling when polling #123

Merged
merged 1 commit into from
Jun 11, 2021

Commits on Jun 10, 2021

  1. feeds/: Allow for per package/feed error handling when polling

    When errors occur but package data can still be processed then
    the system should continue where possible. This is particularly
    beneficial in feeds where data is fetched on a per package basis,
    as a singular failure shouldn't immediately lead to data loss
    for the whole session. `pollAndPublish()` error handling and
    subsequent callers have been modified to handle this.
    
    This also removes `errUnpublished` as a 'hard' error when polling
    npm for critical packages as such it is only logged.
    tom--pollard committed Jun 10, 2021
    Configuration menu
    Copy the full SHA
    863aeff View commit details
    Browse the repository at this point in the history