-
Notifications
You must be signed in to change notification settings - Fork 452
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: send common errors automatically, instead of asking user to rev…
…iew (#1799) - Closes #1678 - Closes FE-1019 ## Summary - We now detect and handle common errors either by sending them directly or ignoring them. # Checklist - [x] I've added error handling for all actions/requests. - [x] I've reviewed how my changes will display in the UI. - [x] I've checked all the copy (text) changes or additions in this PR. - [x] I've included references to the issues being closed on GitHub and/or Linear. - [x] I've ensured that the documentation is up to date and reflects any changes. - [x] I've added documentation links where it may be helpful. - [x] I **reviewed** the **entire PR** myself. --------- Co-authored-by: LuizAsFight <[email protected]> Co-authored-by: Luiz Gomes <[email protected]>
- Loading branch information
1 parent
20042d8
commit 118f4f4
Showing
10 changed files
with
317 additions
and
237 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"fuels-wallet": patch | ||
--- | ||
|
||
feat: send common errors automatically, instead of asking user to review |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/app/src/systems/Account/components/BalanceNFTs/constants.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export const BALANCE_NFTS_TAB_HEIGHT = 244; | ||
export const BALANCE_NFTS_TAB_HEIGHT = 244; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import type { SentryExtraErrorData } from '@fuel-wallet/types'; | ||
import * as Sentry from '@sentry/react'; | ||
|
||
export function captureException(error: Error, extra: SentryExtraErrorData) { | ||
Sentry.captureException(error, { | ||
extra, | ||
tags: { manual: true }, | ||
}); | ||
} |
Oops, something went wrong.