Commit 9363545a authored by Andrew Fontaine's avatar Andrew Fontaine

Merge branch '213952-add-sentry-to-author-select-dropdown' into 'master'

Add sentry to author select dropdown

Closes #213952

See merge request gitlab-org/gitlab!30003
parents f8805ab9 3fe8c6b4
import * as Sentry from '@sentry/browser';
import * as types from './mutation_types';
import axios from '~/lib/utils/axios_utils';
import createFlash from '~/flash';
......@@ -26,6 +27,9 @@ export default {
},
})
.then(({ data }) => dispatch('receiveAuthorsSuccess', data))
.catch(() => dispatch('receiveAuthorsError'));
.catch(error => {
Sentry.captureException(error);
dispatch('receiveAuthorsError');
});
},
};
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