tangata-manu icon indicating copy to clipboard operation
tangata-manu copied to clipboard

Exit status 1 on sync thread fail

Open vsubhuman opened this issue 4 years ago • 2 comments

When sync thread is interrupted with an error - the whole thing should crash instead of just hanging on the server thread.

Right now on error we just do nothing here: https://github.com/Emurgo/tangata-manu/blob/master/src/server.js#L58

Should be clear process.exit(1); after the logging.

vsubhuman avatar Sep 08 '19 18:09 vsubhuman