diff --git a/CHANGELOG.md b/CHANGELOG.md index 0add13fc8..4b5d916a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [9.5.4] +### Fixed +- [#11153](https://github.com/MetaMask/metamask-extension/pull/11153): Prevent UI crash when the transaction being retried or canceled is missing. + ## [9.5.3] ### Fixed - [#11103](https://github.com/MetaMask/metamask-extension/pull/11103): Fixes bug that made MetaMask unusable and displayed 'Minified React error #130' on certain networks and accounts @@ -2235,7 +2239,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Uncategorized - Added the ability to restore accounts from seed words. -[Unreleased]: https://github.com/MetaMask/metamask-extension/compare/v9.5.3...HEAD +[Unreleased]: https://github.com/MetaMask/metamask-extension/compare/v9.5.4...HEAD +[9.5.4]: https://github.com/MetaMask/metamask-extension/compare/v9.5.3...v9.5.4 [9.5.3]: https://github.com/MetaMask/metamask-extension/compare/v9.5.2...v9.5.3 [9.5.2]: https://github.com/MetaMask/metamask-extension/compare/v9.5.1...v9.5.2 [9.5.1]: https://github.com/MetaMask/metamask-extension/compare/v9.5.0...v9.5.1 diff --git a/app/manifest/_base.json b/app/manifest/_base.json index bff810ebb..47cc6a5f9 100644 --- a/app/manifest/_base.json +++ b/app/manifest/_base.json @@ -71,6 +71,6 @@ "notifications" ], "short_name": "__MSG_appName__", - "version": "9.5.3", + "version": "9.5.4", "web_accessible_resources": ["inpage.js", "phishing.html"] } diff --git a/ui/app/hooks/useTransactionDisplayData.js b/ui/app/hooks/useTransactionDisplayData.js index ea886205e..dc589f858 100644 --- a/ui/app/hooks/useTransactionDisplayData.js +++ b/ui/app/hooks/useTransactionDisplayData.js @@ -1,4 +1,5 @@ import { useSelector } from 'react-redux'; +import { captureException } from '@sentry/browser'; import { getKnownMethodData } from '../selectors/selectors'; import { getStatusKey, @@ -221,8 +222,10 @@ export function useTransactionDisplayData(transactionGroup) { title = t('send'); subtitle = t('toAddress', [shortenAddress(recipientAddress)]); } else { - throw new Error( - `useTransactionDisplayData does not recognize transaction type. Type received is: ${type}`, + captureException( + Error( + `useTransactionDisplayData does not recognize transaction type. Type received is: ${type}`, + ), ); }