More exit debugging
Papers, please.
This commit is contained in:
parent
e585587e67
commit
c594af4396
@ -161,7 +161,12 @@ export const handleNewSession = (connection: SendableConnection, newSession: New
|
||||
connection.send(sm.serializeBinary());
|
||||
|
||||
process.on("exit", (code) => {
|
||||
childLogger.debug("Exited", field("id", newSession.getId()));
|
||||
childLogger.debug(() => [
|
||||
"Exited",
|
||||
field("id", newSession.getId()),
|
||||
field("command", newSession.getCommand()),
|
||||
field("args", newSession.getArgsList()),
|
||||
]);
|
||||
const serverMsg = new ServerMessage();
|
||||
const exit = new SessionDoneMessage();
|
||||
exit.setId(newSession.getId());
|
||||
|
Loading…
Reference in New Issue
Block a user