hyperledger / iroha

Iroha - A simple, enterprise-grade decentralized ledger
https://wiki.hyperledger.org/display/iroha
Apache License 2.0
435 stars 277 forks source link

Panic hook #3335

Open mversic opened 1 year ago

mversic commented 1 year ago

We should add a custom panic hook which logs an error message stating that panic has happened. This way we'll be guarded from silent thread panics

https://github.com/sfackler/rust-log-panics

anj20 commented 1 year ago

@mversic can you assign this to me?

appetrosyan commented 1 year ago

Before you begin, make sure you familiarised yourself with the way we do things, reading contributing.md, is a must.

anj20 commented 1 year ago

@appetrosyan can you help me to navigate through the file structure ?

anj20 commented 1 year ago

@mversic ?

appetrosyan commented 1 year ago

What kind of help do you need? This is a fairly general problem that probably needs to ba e handled in the entirety of alll crates, but you could start by having a look at the already installed panic hook in cli

mversic commented 1 year ago

@anj20 have you made any progress on this?