oasislabs / oasis-gateway

⛩ Developer mediated access to the Oasis Platform
Apache License 2.0
23 stars 8 forks source link

Pass full information of errors from the runtime #226

Open mitar opened 4 years ago

mitar commented 4 years ago

What is the problem that you're trying to solve?

Runtime sends much more information like Cost of transaction exceeds sender balance. {} is required but the sender only has {} but gateway removes extra information and just passes through "Cost of transaction exceeds sender balance". Which makes it harder to debug.

Describe the solution you'd like

Pass full information though.