Go services run with nitric start often print "exit status 1" on exit due to what seems to be a quirk of the go run command. See golang issue 13440.
This change captures that exit status and prevent it from printing - since it's rarely a true error and there are other methods to debug real errors (e.g. build the service into a binary and/or container and test it).
Go services run with
nitric start
often print "exit status 1" on exit due to what seems to be a quirk of thego run
command. See golang issue 13440.This change captures that exit status and prevent it from printing - since it's rarely a true error and there are other methods to debug real errors (e.g. build the service into a binary and/or container and test it).