diff --git a/services/tenant-ui/frontend/src/components/LoginForm.vue b/services/tenant-ui/frontend/src/components/LoginForm.vue
index 82790fce4..3d895e279 100644
--- a/services/tenant-ui/frontend/src/components/LoginForm.vue
+++ b/services/tenant-ui/frontend/src/components/LoginForm.vue
@@ -110,15 +110,12 @@ const handleSubmit = async (isFormValid: boolean) => {
tenantStore.getTenantConfig(),
tenantStore.getIssuanceStatus(),
]);
- const rejected = results.filter(
- (result): result is PromiseRejectedResult =>
- result.status === 'rejected'
- );
-
- if (rejected.length > 0) {
- console.error(rejected);
- throw new Error(rejected[0].reason);
- }
+ // if any the Tenant details fetch fails, throw the first error
+ results.forEach((result) => {
+ if (result.status === 'rejected') {
+ throw result.reason;
+ }
+ });
} catch (err) {
console.error(err);
toast.error(`Failure getting tenant info: ${err}`);
diff --git a/services/tenant-ui/frontend/src/components/innkeeper/tenants/Tenants.vue b/services/tenant-ui/frontend/src/components/innkeeper/tenants/Tenants.vue
index 605d03ddf..dd7711090 100644
--- a/services/tenant-ui/frontend/src/components/innkeeper/tenants/Tenants.vue
+++ b/services/tenant-ui/frontend/src/components/innkeeper/tenants/Tenants.vue
@@ -40,8 +40,7 @@
- + {{ $t('profile.connectTenantToEndorserNotAllowed') }}