traceError.tsx 427 B

123456789101112131415
  1. import {TraceError as TraceErrorType} from 'sentry/utils/performance/quickTrace/types';
  2. export function TraceError(params: Partial<TraceErrorType> = {}): TraceErrorType {
  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. level: 'error',
  11. issue: '',
  12. ...params,
  13. };
  14. }