PromucFlow_constructor/app/client/src/pages/UserAuth
akash-codemonk 793539cc65
chore: add try catch for signup recaptcha (#28143)
## Description
Adds a try catch around the recaptcha code on signup page. This is
handled similarly else where in the code base.
https://github.com/appsmithorg/appsmith/blob/release/app/client/src/widgets/ButtonWidget/component/index.tsx#L361.

The intention here is to catch the
[timeout](https://github.com/appsmithorg/appsmith/issues/20764) error
and not log to sentry as it isn't really crashing the app. There is a
lot of sentry logs for this originating from the signup page.

Fixes https://github.com/appsmithorg/appsmith/issues/20764


#### Type of change

- Chore (housekeeping or task changes that don't impact user perception)

## Testing
#### How Has This Been Tested?

- [x] Manual
- [ ] JUnit
- [ ] Jest
- [ ] Cypress
>
>
#### Test Plan
> Add Testsmith test cases links that relate to this PR
>
>
#### Issues raised during DP testing
> Link issues raised during DP testing for better visiblity and tracking
(copy link from comments dropped on this PR)
>
>
>
## Checklist:
#### Dev activity
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


#### QA activity:
- [ ] [Speedbreak
features](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#speedbreakers-)
have been covered
- [ ] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#areas-of-interest-)
- [ ] Test plan has been peer reviewed by project stakeholders and other
QA members
- [ ] Manually tested functionality on DP
- [ ] We had an implementation alignment call with stakeholders post QA
Round 2
- [ ] Cypress test cases have been added and approved by SDET/manual QA
- [ ] Added `Test Plan Approved` label after Cypress tests were reviewed
- [ ] Added `Test Plan Approved` label after JUnit tests were reviewed
2023-10-17 15:48:00 +05:30
..
Container.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
FooterLinks.tsx
ForgotPassword.tsx chore: Updating link component props (#27223) 2023-09-14 16:14:23 +05:30
helpers.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
index.tsx chore: Improve code splitting of FE components (#26659) 2023-08-28 21:07:32 +05:30
Login.tsx fix: fix 404 crash happening during first load (#27229) 2023-09-13 11:27:18 +05:30
requiresAuthHOC.tsx
ResetPassword.tsx
SignUp.tsx chore: add try catch for signup recaptcha (#28143) 2023-10-17 15:48:00 +05:30
StyledComponents.tsx
ThirdPartyAuth.tsx chore: Improve code splitting of FE components (#26659) 2023-08-28 21:07:32 +05:30
VerificationError.tsx
VerificationPending.tsx
VerifyUser.tsx