|
@@ -1,4 +1,6 @@
|
|
|
-export function TraceError(params = {}) {
|
|
|
+import {TraceError as TraceErrorType} from 'sentry/utils/performance/quickTrace/types';
|
|
|
+
|
|
|
+export function TraceError(params: Partial<TraceErrorType> = {}): TraceErrorType {
|
|
|
return {
|
|
|
event_id: '08384ee83c9145e79b5f6fbed5c37a51',
|
|
|
issue_id: 62,
|
|
@@ -7,6 +9,7 @@ export function TraceError(params = {}) {
|
|
|
project_slug: 'santry',
|
|
|
title: 'Error: Something went wrong',
|
|
|
level: 'error',
|
|
|
+ issue: '',
|
|
|
...params,
|
|
|
};
|
|
|
}
|