Commit 39c7d5ba authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Merge branch 'fc/add-sentry-info-for-pipeline-error' into 'master'

Add more info in pipeline wrapper for load failure

See merge request gitlab-org/gitlab!61614
parents 27159020 814c6057
...@@ -111,7 +111,12 @@ export default { ...@@ -111,7 +111,12 @@ export default {
this.reportFailure({ type: LOAD_FAILURE, skipSentry: true }); this.reportFailure({ type: LOAD_FAILURE, skipSentry: true });
reportToSentry( reportToSentry(
this.$options.name, 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 }) { 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