You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if user doesn't confirm withdrawal on Trezor device,task::withdraw::status returns following error:
{
"mmrpc": "2.0",
"result": {
"status": "Error",
"details": {
"error": "Internal error: Operation failed due to unknown reason: Failure { code: Some(FailureActionCancelled), message: Some(\"Action cancelled by user\") }",
"error_path": "utxo_withdraw.with_trezor.client",
"error_trace": "utxo_withdraw:323] with_trezor:36] client:90]",
"error_type": "InternalError",
"error_data": "Operation failed due to unknown reason: Failure { code: Some(FailureActionCancelled), message: Some(\"Action cancelled by user\") }"
}
},
"id": null
}
Please note, that it has error_type == InternalError, and string error_data, making it hard to identify, and show to gui user.
It would be nice to provide more specific error data, similar to what we have for HwError error type, allowing to parse it properly and show human-friendly error message in gui.
Currently, if user doesn't confirm withdrawal on Trezor device,
task::withdraw::status
returns following error:Please note, that it has
error_type
==InternalError
, and stringerror_data
, making it hard to identify, and show to gui user.It would be nice to provide more specific error data, similar to what we have for HwError error type, allowing to parse it properly and show human-friendly error message in gui.
Related webdex issue: https://github.com/KomodoPlatform/WebDEX/issues/925
The text was updated successfully, but these errors were encountered: