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 a5189a4 commit 9138272Copy full SHA for 9138272
static/app/views/onboarding/components/useScmRepoSelection.ts
@@ -1,5 +1,7 @@
1
import {useState} from 'react';
2
3
+import {addErrorMessage} from 'sentry/actionCreators/indicator';
4
+import {t} from 'sentry/locale';
5
import type {
6
Integration,
7
IntegrationRepository,
@@ -102,6 +104,7 @@ export function useScmRepoSelection({
102
104
});
103
105
onSelect({...optimistic, ...created});
106
} catch {
107
+ addErrorMessage(t('Failed to select repository'));
108
onSelect(undefined);
109
} finally {
110
setBusy(false);
0 commit comments