fix: show backend error message on API channel creation failure (#13855)

This commit is contained in:
Shivam Mishra
2026-04-14 16:36:10 +05:30
committed by aakashb95
parent e492452fd1
commit 279ccc9cf4
2 changed files with 5 additions and 3 deletions
@@ -57,7 +57,10 @@ export default {
},
});
} catch (error) {
useAlert(this.$t('INBOX_MGMT.ADD.API_CHANNEL.API.ERROR_MESSAGE'));
useAlert(
error.message ||
this.$t('INBOX_MGMT.ADD.API_CHANNEL.API.ERROR_MESSAGE')
);
}
},
},