@t2000/cli 0.18.7 → 0.18.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -26881,7 +26881,9 @@ var Gateway = class _Gateway {
|
|
|
26881
26881
|
}
|
|
26882
26882
|
}
|
|
26883
26883
|
if (!this.options.noTelegram && this.config.channels.telegram?.enabled && this.config.channels.telegram.botToken) {
|
|
26884
|
-
|
|
26884
|
+
this.startTelegram(tools, toolDefs, results).catch((err) => {
|
|
26885
|
+
this.logger.error(`Telegram startup error: ${err instanceof Error ? err.message : String(err)}`);
|
|
26886
|
+
});
|
|
26885
26887
|
}
|
|
26886
26888
|
if (!this.options.noHeartbeat) {
|
|
26887
26889
|
const getUsage = () => {
|
|
@@ -26967,6 +26969,7 @@ var Gateway = class _Gateway {
|
|
|
26967
26969
|
}
|
|
26968
26970
|
});
|
|
26969
26971
|
const attemptConnect = async () => {
|
|
26972
|
+
this.logger.info("Connecting to Telegram...");
|
|
26970
26973
|
try {
|
|
26971
26974
|
await telegram.start();
|
|
26972
26975
|
this.channels.push(telegram);
|
|
@@ -27107,4 +27110,4 @@ humanize-ms/index.js:
|
|
|
27107
27110
|
* MIT Licensed
|
|
27108
27111
|
*)
|
|
27109
27112
|
*/
|
|
27110
|
-
//# sourceMappingURL=dist-
|
|
27113
|
+
//# sourceMappingURL=dist-KALLDWPD.js.map
|