-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't assume that PMHC extracts will succeed
Previously, we assumed that all PMHC extracts would eventually change from status=Processing to status=Completed, at which point we could download the extract file. However, it is possible that the PMHC server may error, which results in status=Error. We did not detect this Error state previously, so would loop indefinitely in the false hope that the extract file would eventually be created. Now, we correctly detect status=Error, and raise a suitable exception.
- Loading branch information
1 parent
a4a039c
commit b5f6ee5
Showing
1 changed file
with
81 additions
and
2 deletions.
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