1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app/scripts/lib
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
..
ens-ipfs
migrator
rpc-method-middleware Integrate TokensController (#11552) 2021-09-10 12:37:19 -05:00
account-tracker.js
buy-eth-url.js
buy-eth-url.test.js
cleanErrorStack.js Fix 12145 - Ledger errors being set as Error: [object, object] (#12176) 2021-09-22 10:41:23 -07:00
cleanErrorStack.test.js
ComposableObservableStore.js Added getPersistentState support for V2 controllers persist metadata (#12007) 2021-09-05 19:33:37 -07:00
ComposableObservableStore.test.js
createLoggerMiddleware.js
createMetaRPCHandler.js
createMetaRPCHandler.test.js
createOnboardingMiddleware.js
createOriginMiddleware.js
createStreamSink.js
createTabIdMiddleware.js
decrypt-message-manager.js
encryption-public-key-manager.js
extractEthjsErrorMessage.js
get-first-preferred-lang-code.js
getObjStructure.js
local-store.js
message-manager.js
message-manager.test.js
metaRPCClientFactory.js
metaRPCClientFactory.test.js
network-store.js
nodeify.js
nodeify.test.js
notification-manager.js
personal-message-manager.js
personal-message-manager.test.js
seed-phrase-verifier.js
seed-phrase-verifier.test.js
segment.js
setupSentry.js
stream-utils.js
typed-message-manager.js
typed-message-manager.test.js
util.js
util.test.js