Этап 4 / Волна 10: корректировка settlement-кейса — доменная фиксация синтеза, честное покрытие, удержание фокуса / Этап 4 / Волна 11: бизнес-якоря, доменное заземление и устранение утечки дебага
This commit is contained in:
+10
-1
@@ -27,5 +27,14 @@ function logJson(entry) {
|
||||
details: redactObject(entry.details)
|
||||
};
|
||||
// Structured JSON logs for diagnostics/trace aggregation.
|
||||
process.stdout.write(JSON.stringify(safe) + "\n");
|
||||
try {
|
||||
process.stdout.write(JSON.stringify(safe) + "\n");
|
||||
}
|
||||
catch (error) {
|
||||
const code = error?.code;
|
||||
if (code === "ENOSPC" || code === "EPIPE") {
|
||||
return;
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user