Skip to content

Commit 5ba5795

Browse files
Error message corrected
1 parent 1d330a1 commit 5ba5795

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/Clusters/components/AddClusterWizard.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,9 @@ export function AddClusterWizard({
127127
setIsFormOpen({ formOpen: false });
128128
} catch (e) {
129129
notification.notifyError({
130-
title: t('clusters.messages.wrong-configuration'),
131-
content: t('common.tooltips.error') + e.message,
130+
content: `${t('clusters.messages.wrong-configuration')}. ${
131+
e instanceof Error && e?.message ? e.message : ''
132+
}`,
132133
});
133134
console.warn(e);
134135
}

0 commit comments

Comments
 (0)