We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0955fab commit 81dfb8dCopy full SHA for 81dfb8d
static/app/views/issueDetails/configurationIssues/sourceMapIssues/diagnosisSection.tsx
@@ -14,7 +14,15 @@ import {LoadingIndicator} from 'sentry/components/loadingIndicator';
14
import {IconOpen} from 'sentry/icons';
15
import {t, tct} from 'sentry/locale';
16
17
-function getDiagnosisMessage(data: SourceMapDebugBlueThunderResponse): ReactNode | null {
+function getDiagnosisMessage(
18
+ data: SourceMapDebugBlueThunderResponse | undefined
19
+): ReactNode | null {
20
+ if (!data) {
21
+ return (
22
+ <Text>{t('Unable to load source map diagnostic information for this event.')}</Text>
23
+ );
24
+ }
25
+
26
const release = data.release ? (
27
<InlineCode variant="neutral">{data.release}</InlineCode>
28
) : null;
0 commit comments