Merge "Don't bail on fetchBuildAllInfo if fetchBuildManifest fails"
This commit is contained in:
commit
d878aad582
|
@ -370,10 +370,9 @@ export function fetchBuildManifest(buildId, state) {
|
||||||
const response = await Axios.get(artifact.url)
|
const response = await Axios.get(artifact.url)
|
||||||
return dispatch(receiveBuildManifest(buildId, response.data))
|
return dispatch(receiveBuildManifest(buildId, response.data))
|
||||||
} catch(error) {
|
} catch(error) {
|
||||||
|
// Show the error since we expected a manifest but did not
|
||||||
|
// receive it.
|
||||||
dispatch(failedBuildManifest(buildId, error, artifact.url))
|
dispatch(failedBuildManifest(buildId, error, artifact.url))
|
||||||
// Raise the error again, so fetchBuildAllInfo() doesn't call
|
|
||||||
// fetchLogFile which needs an existing manifest file.
|
|
||||||
throw error
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue