fix(doctor): catch manager close errors in status probe

This commit is contained in:
Jerry-Xin 2026-03-14 21:05:05 +08:00
parent 086021cda8
commit 8ea7bf25a4

View File

@ -56,7 +56,11 @@ export const doctorHandlers: GatewayRequestHandlers = {
};
respond(true, payload, undefined);
} finally {
await manager.close();
try {
await manager.close();
} catch {
// Ignore close errors - response already sent
}
}
},
};