Commit 814c6057 authored by Frederic Caplette's avatar Frederic Caplette

Add more info in pipeline wrapper for load failure

There is a bug right now where the pipeline data fails
to load with the graphQL query, so we add data to sentry to
help us debug it.
parent 2393b1eb
......@@ -111,7 +111,12 @@ export default {
this.reportFailure({ type: LOAD_FAILURE, skipSentry: true });
reportToSentry(
this.$options.name,
`type: ${LOAD_FAILURE}, info: ${serializeLoadErrors(err)}`,
`| type: ${LOAD_FAILURE} |
| rawError: ${JSON.stringify(err)} |
| info: ${serializeLoadErrors(err)} |
| graphqlResourceEtag: ${this.graphqlResourceEtag} |
| projectPath: ${this.projectPath} |
| iid: ${this.pipelineIid} |`,
);
},
result({ error }) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment