Skip to content

Write Nonzero Exit Code After "Exited"? #169

Closed

Description

@jcburley

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.

Activity

  1. Envek commented on Mar 25, 2024

    @Envek
    Collaborator

    Released in 2.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions