-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better handling of wpull exit status codes
Currently the crawl management command always returns a zero exit code even if wpull has some kind of serious error. By default wpull returns a non-zero exit code for *any* failure, which is too sensitive - we don't want downstream processing to fail just because the crawler can't resolve the DNS of a link, for example. This change reintroduces the wpull exit status codes but only for errors that don't relate to network failures (DNS, connectivity, etc).
- Loading branch information
Showing
2 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters