sebak icon indicating copy to clipboard operation
sebak copied to clipboard

Better error codes and message when sebak has problems

Open outsideris opened this issue 7 years ago • 1 comments

When sebak has some problems like the consensus is failed or doesn't work, it should return HTTP 500 status code and properly message. For example, when sebak can not make consensus and can not make new block, it still return 400 error to client like sebak is ok. I also think it is hard to detect consensus problems but it is helpful for clients to show error messages properly.

outsideris avatar Nov 15 '18 01:11 outsideris

#759 may solve this issue. But If I have a chance, I dig into it.

kfangw avatar Nov 21 '18 10:11 kfangw