fix: quiet telegram getUpdates errors
This commit is contained in:
@@ -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