hyperledger / hyperledger/fabric-private-chaincode

Robust Error handling

Open
#138 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
174
Forks
98
Avg merge
2d 21h
Merged PRs (30d)
1

Description

The current code is rather weak on error handling: return codes are often ignored, errors are logged but not handled or might lead right away to a panic.

related issues #81, #87, #104, #139

We probably should come up first with a general error strategy of how to deal errors in enclaves and pass them on and alike and the i guess slowly chip away on it. What we definitely should do is start at least adding TODOs of code we touch related to this so at least we know what still have to be done ...

(For fabric general error handling guidelines, see https://hyperledger-fabric.readthedocs.io/en/latest/error-handling.html)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.