Skip to content

unexpected exit not easy to read in status or getProcessInfo #763

@julien6387

Description

@julien6387

when a program exits unexpectedly, it is reported with an EXITED state.
in this case, an eventlistener receives a process event telling that the exit was not expected in a 'expected' field, which is great.
however, using the XML-RPC getProcessInfo or supervisorctl, we can only rely on the 'spawnerr' log, which may be more complicated to read. for the moment, I only check if it is empty or not but I'm not very confident that it works in all situations.
could the XML-RPC result include a similar 'expected' field when the program is EXITED ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions