MCPcopy Create free account
hub / github.com/CreminiAI/skillpack / sendSafe

Method sendSafe

src/runtime/adapters/telegram.ts:307–313  ·  view source on GitHub ↗

* Safe send that catches and logs errors.

(chatId: number, text: string)

Source from the content-addressed store, hash-verified

305 }
306
307 /**
308 * Safe send that catches and logs errors.
309 */
310 private async sendSafe(chatId: number, text: string): Promise<void> {
311 try {
312 await this.sendWithRetry(chatId, text);
313 } catch (err) {
314 console.error("[Telegram] Failed to send message:", err);
315 }
316 }

Callers 1

handleTelegramMessageMethod · 0.95

Calls 1

sendWithRetryMethod · 0.95

Tested by

no test coverage detected