cothority icon indicating copy to clipboard operation
cothority copied to clipboard

darc.GetDarc doesn't allow for error

Open tharvik opened this issue 4 years ago • 1 comments

Currently, errors are signaled by logging then returning nil, the latter being also used to return a potential match. Either, drop the log.Error inside darc.GetDarc implementation or allow it to return an error.

tharvik avatar Apr 30 '20 10:04 tharvik

Can we use another label than Bug here? I'd like to keep Bug for stuff that actually breaks running OmniLedger. So this would be more like enhancement or code quality. What do you think?

ineiti avatar May 11 '20 04:05 ineiti