PromucFlow_constructor/app
Diljit 410e4ea999
chore: log evaluation error logs and push execption to sentry (#40170)
## Description
This PR makes sure that any error in evaluation is not supressed by the
code and when it happens it does the following
- Shows a generic evaluation error to the user as a toast message
- Log the error in the main thread console
- Send an exception to Sentry

Fixes #`Issue Number`  
_or_  
Fixes `Issue URL`
> [!WARNING]  
> _If no issue exists, please create an issue first, and check with the
maintainers if the issue is valid._

## Automation

/ok-to-test tags="@tag.All"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!CAUTION]  
> If you modify the content in this section, you are likely to disrupt
the CI result for your PR.

<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Bug Fixes**
- Enhanced error logging and reporting to ensure evaluation issues are
consistently captured and tracked.
  
- **Chores**
- Expanded error diagnostics by including additional context for
improved troubleshooting.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-08 16:34:56 +00:00
..
client chore: log evaluation error logs and push execption to sentry (#40170) 2025-04-08 16:34:56 +00:00
server chore: Removing user repo fetches only by email (#40165) 2025-04-08 15:59:38 +05:30
util