-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User Denied Transaction Error doesn't get caught in callback function although it logs by inpage.js in console. #4434
Comments
Same issue |
Same, team please look at this. I added try catch but it didn't work |
This breaks a number of dApps as it leaves them in an unresolved state, waiting for the promise to fulfill or throw. |
+1 |
Perhaps 71a6e97 |
I will try a build that reverts #4384 |
Same issue |
I am somewhat confident that this is related to |
whoops it's from ce28344, not 4245 |
This is a dupe of #4431 |
Bug Reports:
After installed latest version (4.7.0) of Metamask, when rejecting transaction, MetaMask throws error "User denied transaction signature" by inpage.js in chrome console but it was not caught in callback as exception.
I would expect to catch the error inside of callback. For example
TestContract.callFunction({from: defaultAddress}, function (err, res) {
// handle err here
console.log(err)
});
I got nothing from console.log(err) although I can see "User denied transaction signature" error log by inpage.js in console.
Chrome V66.0.3359.181
OSX 10.11.6
The text was updated successfully, but these errors were encountered: