1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app/scripts
Thomas Huang 02a4da9ad2
Fix 12145 - Ledger errors being set as Error: [object, object] (#12176)
* Fixes #12145

When transactions fail, preserve error message when presented with an error object. Fallback to stringified error for other cases.

* Perserve error stack when err.stack is present, else set stack to message.

* Use optional chaining
2021-09-22 10:41:23 -07:00
..
account-import-strategies Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
constants Add support for fiat on-ramp via Transak (#11376) 2021-06-25 08:10:24 -05:00
controllers Fix 12145 - Ledger errors being set as Error: [object, object] (#12176) 2021-09-22 10:41:23 -07:00
lib Fix 12145 - Ledger errors being set as Error: [object, object] (#12176) 2021-09-22 10:41:23 -07:00
migrations Jestify continue (#12173) 2021-09-22 08:15:40 -07:00
platforms use etherscan-link customBlockExplorer methods with customNetwork usage tracking (#11017) 2021-05-19 09:51:47 -05:00
background.js bump @metamask/controllers to v15.0.2 and remove AbortController workaround in e2e tests (#11988) 2021-09-03 09:34:21 -05:00
contentscript.js @metamask/post-message-stream@4.0.0 (#10989) 2021-05-05 16:07:48 -07:00
disable-console.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
first-time-state.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
inpage.js @metamask/providers@8.1.1 (#11078) 2021-05-12 19:51:14 -07:00
lockdown-run.js Make all named intrinsics non-modifiable (#11953) 2021-08-30 14:30:48 -07:00
metamask-controller.js Fix case of password env variable (#12120) 2021-09-21 23:27:24 +05:30
metamask-controller.test.js Fixes #12073: Extra account with zero balance always added when importing wallet with seed and when first account's balance is non-zero (#12074) 2021-09-16 16:20:57 -05:00
phishing-detect.js Autofilling new issue link with url and domain (Phishing detect page) (#12000) 2021-09-03 11:22:28 -07:00
sentry-install.js Build - refactor for bundle factoring and swappable runtime (#11080) 2021-07-15 10:59:34 -07:00
ui.js bump @metamask/controllers to v15.0.2 and remove AbortController workaround in e2e tests (#11988) 2021-09-03 09:34:21 -05:00