mirror of https://github.com/coder/code-server.git
parent
e585587e67
commit
c594af4396
|
@ -161,7 +161,12 @@ export const handleNewSession = (connection: SendableConnection, newSession: New
|
||||||
connection.send(sm.serializeBinary());
|
connection.send(sm.serializeBinary());
|
||||||
|
|
||||||
process.on("exit", (code) => {
|
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 serverMsg = new ServerMessage();
|
||||||
const exit = new SessionDoneMessage();
|
const exit = new SessionDoneMessage();
|
||||||
exit.setId(newSession.getId());
|
exit.setId(newSession.getId());
|
||||||
|
|
Loading…
Reference in New Issue