Browse Source

Merge "Don't bail on fetchBuildAllInfo if fetchBuildManifest fails"

changes/09/599209/8
Zuul 1 week ago
committed by Gerrit Code Review
parent
commit
d878aad582
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      web/src/actions/build.js

+ 2
- 3
web/src/actions/build.js View File

@ -370,10 +370,9 @@ export function fetchBuildManifest(buildId, state) {
const response = await Axios.get(artifact.url)
return dispatch(receiveBuildManifest(buildId, response.data))
} catch(error) {
// Show the error since we expected a manifest but did not
// receive it.
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…
Cancel
Save