fix(doctor): catch manager close errors in status probe
This commit is contained in:
parent
086021cda8
commit
8ea7bf25a4
@ -56,7 +56,11 @@ export const doctorHandlers: GatewayRequestHandlers = {
|
|||||||
};
|
};
|
||||||
respond(true, payload, undefined);
|
respond(true, payload, undefined);
|
||||||
} finally {
|
} finally {
|
||||||
await manager.close();
|
try {
|
||||||
|
await manager.close();
|
||||||
|
} catch {
|
||||||
|
// Ignore close errors - response already sent
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user