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
errors.Code seems to swallow the message when there's no context. when using a client other than our Go codebase, there's no facility to look up the module and code to get the message. in some cases such as through grpc-web, missing library support makes it impossible to get the module and code in the first place, and all you have is the message.
ISSUE TYPE
Bug Report
COMPONENT NAME
go/common/errors
OASIS NODE VERSION
21.3
OS / ENVIRONMENT
n/a
STEPS TO REPRODUCE
Trigger an error such as submitting a staking.Allow transaction when allowances are disabled (max allowances = 0).
ACTUAL RESULTS
GRPC error message blank
EXPECTED RESULTS
GRPC error message staking: forbidden by policy
The text was updated successfully, but these errors were encountered:
SUMMARY
errors.Code
seems to swallow the message when there's no context. when using a client other than our Go codebase, there's no facility to look up the module and code to get the message. in some cases such as through grpc-web, missing library support makes it impossible to get the module and code in the first place, and all you have is the message.ISSUE TYPE
COMPONENT NAME
go/common/errors
OASIS NODE VERSION
OS / ENVIRONMENT
n/a
STEPS TO REPRODUCE
Trigger an error such as submitting a
staking.Allow
transaction when allowances are disabled (max allowances = 0).ACTUAL RESULTS
GRPC error message blank
EXPECTED RESULTS
GRPC error message
staking: forbidden by policy
The text was updated successfully, but these errors were encountered: