internal-displacement
internal-displacement copied to clipboard
Deal with update_status errors
In Pipeline.process_url
we make multiple calls to article.update_status()
.
The update_status method may raise UnexpectedArticleStatusException
if it appears that the status has been changed in the meantime.
process_url
should be prepared for dealing with this exception.