Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Isuserrejected error when cause exists but undefined (#10666)
<!-- Before opening a pull request, please read the [contributing guidelines](https://github.com/pancakeswap/pancake-frontend/blob/develop/CONTRIBUTING.md) first --> <!-- start pr-codex --> --- ## PR-Codex overview This PR updates error handling logic in `sentry.ts` and `sentry.client.config.js` to check for the existence of `err.cause` before accessing its properties. ### Detailed summary - Updated error handling logic to check for `err.cause` existence before accessing its properties. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
- Loading branch information