fetchai / fetchd

Source code for Fetch.ai blockchain nodes
Other
96 stars 40 forks source link

Feature request: Get Stack trace on panic!() #272

Closed dishmop closed 9 months ago

dishmop commented 2 years ago

Prerequisites

Problem

when developing and running a local node, if my code panic!() in the contract (perhaps through an unwrap or whatever) I have no idea what caused it or where it panicked.

Feature / Solution

It would be great to see the stack trace of the error somewhere.

Ideally it would be returned to the calling code, but even if it was outputed to the terminal in way that we can grep it.

Alternatives

No response

Additional Context

No response

5A11 commented 2 years ago

This and fetchai/fetchd#271 are not possible to address in CosmPy. Please reopen in another repo where this belongs.

dominic22 commented 9 months ago

closed as moved to done