This commit is contained in:
user 2024-03-28 01:41:46 +03:00
parent 8c217ab321
commit 54275d997b
1 changed files with 1 additions and 6 deletions

View File

@ -81,12 +81,7 @@ export const PresubmitStep = ({ prevStep }: PresubmitStepProps) => {
WebApp.close(); WebApp.close();
} catch (error) { } catch (error) {
console.error("An error occurred during the submission process:", error); console.error("An error occurred during the submission process:", error);
alert(`Возникла ошибка, ${JSON.stringify(error)}`);
if (error?.status === 400) {
alert(
"Введенные данные неверные, проверьте правильность введенных данных.",
);
}
} }
}; };