Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: try catch for `fetchIdentityProviderList` (#16582)
boojack33feff521241
diff --git a/frontend/src/views/auth/Signin.vue b/frontend/src/views/auth/Signin.vueindex 36314a67f4..8d56c6404b 100644--- a/frontend/src/views/auth/Signin.vue+++ b/frontend/src/views/auth/Signin.vue@@ -258,8 +258,17 @@ watchEffect(() => {});onMounted(async () => {- await identityProviderStore.fetchIdentityProviderList();-+ try {+ // Prepare all identity providers.+ await identityProviderStore.fetchIdentityProviderList();+ } catch (error) {+ pushNotification({+ module: "bytebase",+ style: "CRITICAL",+ title: `Request error occurred`,+ description: (error as any).message,+ });+ }// Check if there is an identity provider in the query string and try to sign in with it.if (route.query["idp"]) {const idpName = `${idpNamePrefix}${route.query["idp"] as string}`;