diff --git a/react/src/components/ServiceLauncherPageContent.tsx b/react/src/components/ServiceLauncherPageContent.tsx index 9e5c04d9f2..33c43c7a1e 100644 --- a/react/src/components/ServiceLauncherPageContent.tsx +++ b/react/src/components/ServiceLauncherPageContent.tsx @@ -566,16 +566,8 @@ const ServiceLauncherPageContent: React.FC = ({ } }) .catch((err: any) => { - // error on input - if (err.errorFields?.length > 0) { - err.errorFields.forEach((error: any) => { - message.error(error.errors); - }); - } else if (err.message) { - message.error(err.message); - } else { - message.error(t('modelService.FormValidationFailed')); - } + // this catch function only for form validation error and unhandled error in `form.validateFields()..then()`. + // It's not for error handling in mutation. }); };