fix: quiet telegram getUpdates errors
This commit is contained in:
1 parent
b85854d0fe
commit
407a3c2c10
3 files changed
+4
No files matched your search
@@ -119,6 +119,7 @@ describe("monitorTelegramProvider (grammY)", () => {
|
||||
expect.anything(),
|
||||
expect.objectContaining({
|
||||
sink: { concurrency: 3 },
|
||||
runner: expect.objectContaining({ silent: true }),
|
||||
}),
|
||||
);
|
||||
});
|
||||
|
||||
@@ -35,6 +35,8 @@ export function createTelegramRunnerOptions(
|
||||
// Match grammY defaults
|
||||
timeout: 30,
|
||||
},
|
||||
// Suppress grammY getUpdates stack traces; we log concise errors ourselves.
|
||||
silent: true,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user