Skip to content

Commit b0b50d2

Browse files
authored
ux(auth): change IdC roles message to warn instead of error (#4968)
1 parent 8bd0782 commit b0b50d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/auth/connection.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ import { getLogger } from '../shared/logger/logger'
1313
import { showMessageWithUrl } from '../shared/utilities/messages'
1414
import { onceChanged } from '../shared/utilities/functionUtils'
1515

16-
/** Shows an error message unless it is the same as the last one shown. */
16+
/** Shows a warning message unless it is the same as the last one shown. */
1717
const warnOnce = onceChanged((s: string, url: string) => {
18-
void showMessageWithUrl(s, url, undefined, 'error')
18+
void showMessageWithUrl(s, url, undefined, 'warn')
1919
})
2020

2121
export const scopesCodeCatalyst = ['codecatalyst:read_write']

0 commit comments

Comments
 (0)