status-im / nim-chronos

Chronos - An efficient library for asynchronous programming
https://status-im.github.io/nim-chronos/docs/chronos
Apache License 2.0
353 stars 51 forks source link

triggers `BareExcept` warnings en masse #365

Open tersec opened 1 year ago

tersec commented 1 year ago

https://github.com/status-im/nimbus-eth2/issues/4661

nimbus-eth2/vendor/nim-chronos/chronos/asyncfutures2.nim(389, 3) Warning: catch a more precise Exception deriving from CatchableError or Defect. [BareExcept]

https://github.com/status-im/nim-chronos/blob/f7835a192b45c37e97614d865141f21eea8c156e/chronos/asyncfutures2.nim#L389-L393