Update app.ts
Browse files
app.ts
CHANGED
|
@@ -25,7 +25,7 @@ const app = new Elysia()
|
|
| 25 |
if (err) yield err
|
| 26 |
const out = await new Response(proc.stdout).text();
|
| 27 |
if (out) yield out
|
| 28 |
-
yield `\n\n\`process exited with code ${proc.
|
| 29 |
})
|
| 30 |
.ws('/realtime', {
|
| 31 |
message(ws, message) {
|
|
|
|
| 25 |
if (err) yield err
|
| 26 |
const out = await new Response(proc.stdout).text();
|
| 27 |
if (out) yield out
|
| 28 |
+
yield `\n\n\`process exited with code ${proc.signalCode}\``
|
| 29 |
})
|
| 30 |
.ws('/realtime', {
|
| 31 |
message(ws, message) {
|