-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor HttpFetchPlugin to clarify error outcomes
Previously, HttpFetchPlugin would treat any non-Shaka error as HTTP_ERROR when there were potentially other circumstances which could have produced a non-Shaka error. This change catches errors from fetch sooner, so that there is no need to do a fuzzy check for error.severity. It also clears the request timeout regardless of whether fetch throws or not. Closes #1519
- Loading branch information
Fillmore, Christopher (cf276p)
committed
Aug 8, 2018
1 parent
59eb930
commit 9879a06
Showing
1 changed file
with
74 additions
and
42 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