fix: type error when user add port for s3 storages.

This commit is contained in:
charlesgauthereau
2026-02-19 21:09:56 +01:00
parent 4ce38d9857
commit 9116b4d126
3 changed files with 6 additions and 3 deletions
@@ -51,7 +51,8 @@ export const ChannelTestButton = ({channel, organizationId, kind}: NotifierTestC
toast.success("Successfully connected to storage channel");
} else {
console.error(result);
toast.error("An error occurred while testing the storage channel, check your configuration");
const responseText = result.response ? `(${result.response})` : "";
toast.error(`An error occurred while testing the storage channel, check your configuration ${responseText}`);
}
} else {
toast.error("Not yet supported");