elrond-wasm-rs icon indicating copy to clipboard operation
elrond-wasm-rs copied to clipboard

DebuggerBackend panics when an account is not found

Open gfusee opened this issue 1 year ago • 1 comments

It makes catching error very difficult to do, it obliges developers to rewind the stack (not a good practice)

To reproduce: perform a call to an unknown address in a ScenarioWorld

gfusee avatar Nov 12 '23 15:11 gfusee

moreover, it's important to note that panicking poisons Mutex, making even harder to catch errors

gfusee avatar Nov 12 '23 17:11 gfusee