Concordium / concordium-wallet-proxy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Report useful errors on invalid credential submission

abizjak opened this issue · comments

The wallet-proxy currently responds with 502 bad gateway with non-informative error message on invalid credential deployment (in submitCredential).

The node nowadays reports a fairly precise error message, so we should return that to the user.

The simplest, and sufficient, might be to just return 400 instead and put the GRPC error message in the response.