(mgr: ServiceManager)
| 223 | } |
| 224 | |
| 225 | async function readStatus(mgr: ServiceManager): Promise<ServiceStatus | undefined> { |
| 226 | try { |
| 227 | return await mgr.status(); |
| 228 | } catch { |
| 229 | return undefined; |
| 230 | } |
| 231 | } |
| 232 | |
| 233 | function withStatusDetails( |
| 234 | result: Record<string, unknown>, |
no test coverage detected