Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write Nonzero Exit Code After "Exited"? #169

Closed
jcburley opened this issue Jan 18, 2024 · 1 comment · Fixed by #174
Closed

Write Nonzero Exit Code After "Exited"? #169

jcburley opened this issue Jan 18, 2024 · 1 comment · Fixed by #174

Comments

@jcburley
Copy link

Could the exit (aka return aka result) code from a process be logged, maybe only if nonzero, after Exited?

Not all components (run directly or indirectly by a Procfile) log the reason they're exiting. For example, I spent quite awhile tracking down what turned out to be a case of ~/.nvm/nvm.sh returning exit code 3 with no other explanation — but even finding that took awhile, because the output of Overmind didn't make clear to me why it decided to shut down (Interrupting...) all the processes.

Seeing several processes simply logged as Exited, followed by Interrupting... of a process, can be confusing — especially if the interrupted process throws a semi-random error, as a result of being interrupted, such as a stack trace.

@Envek
Copy link
Collaborator

Envek commented Mar 25, 2024

Released in 2.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants