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
Describe the bug
Seems like we hardcode the error message instead of using the return err -> Return error message is Account.Address is missing, but the actual error message is Account.SubAccount.Address is missing
If this is a generic issue, we need to address all of them.
To Reproduce
Run rosetta-cli and modify the config.json to ensure it hit the line as the screenshot shows
Expected behavior
We need to wrap the err in the error message then return
The text was updated successfully, but these errors were encountered:
Thanks @GeekArthur for raising the issue. We could definitely wrap the internal error and keep the hardcoded one too so that we have a generic message plus the actual error. Feel free to contribute and wrap the internal error.
Describe the bug
Seems like we hardcode the error message instead of using the return err -> Return error message is
Account.Address is missing
, but the actual error message isAccount.SubAccount.Address is missing
If this is a generic issue, we need to address all of them.
To Reproduce
Run rosetta-cli and modify the config.json to ensure it hit the line as the screenshot shows
Expected behavior
We need to wrap the
err
in the error message then returnThe text was updated successfully, but these errors were encountered: