summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/sentry/wrapper.js
blob: 24039e6141cef61ec0e97762b267c8a3321f299a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Temporarily commented out to investigate performance: https://gitlab.com/gitlab-org/gitlab/-/issues/251179
// export * from '@sentry/browser';

export function init(...args) {
  return args;
}

export function setUser(...args) {
  return args;
}

export function captureException(...args) {
  return args;
}

export function captureMessage(...args) {
  return args;
}

export function withScope(fn) {
  fn({
    setTag(...args) {
      return args;
    },
  });
}