nitrictech / cli

Nitric CLI. Manage and run Nitric apps locally and deploy to any cloud.
https://nitric.io
Apache License 2.0
26 stars 10 forks source link

fix: stop exit status 1 printing for Go services #792

Closed jyecusch closed 1 month ago

jyecusch commented 1 month ago

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).

nitric-bot commented 1 month ago

:tada: This PR is included in version 1.54.2 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: