gitlab-ce/app/assets/javascripts/ci/utils.js

10 lines
194 B
JavaScript

import * as Sentry from '~/sentry/sentry_browser_wrapper';
export const reportToSentry = (component, error) => {
Sentry.captureException(error, {
tags: {
component,
},
});
};