traceError.ts 445 B

12345678910111213141516
  1. import {TraceError} from 'sentry/utils/performance/quickTrace/types';
  2. export function TraceErrorFixture(params: Partial<TraceError> = {}): TraceError {
  3. return {
  4. event_id: '08384ee83c9145e79b5f6fbed5c37a51',
  5. issue_id: 62,
  6. span: 'bdf1a9fae2062311',
  7. project_id: 8,
  8. project_slug: 'santry',
  9. title: 'Error: Something went wrong',
  10. message: 'Something went wrong',
  11. level: 'error',
  12. issue: '',
  13. ...params,
  14. };
  15. }