feat(telegram): harden channel reliability with retries and error diagnostics
This commit is contained in:
@@ -73,7 +73,14 @@ export function discoverServices(
|
||||
}
|
||||
|
||||
if (registered) {
|
||||
services.push({ name, type: 'channel', status: registered.status as ServiceStatus, description });
|
||||
services.push({
|
||||
name,
|
||||
type: 'channel',
|
||||
status: registered.status as ServiceStatus,
|
||||
description,
|
||||
...(registered.lastError ? { error: registered.lastError } : {}),
|
||||
...(registered.lastErrorAt ? { metadata: { lastErrorAt: registered.lastErrorAt } } : {}),
|
||||
});
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user