chore(discord): trim gateway log prefixes

This commit is contained in:
Peter Steinberger
2026-01-13 04:22:22 +00:00
parent 8a9096cd52
commit 58d1d11762
3 changed files with 7 additions and 7 deletions

View File

@@ -36,11 +36,11 @@ describe("attachDiscordGatewayLogging", () => {
expect(runtime.log).toHaveBeenCalledTimes(2);
expect(runtime.log).toHaveBeenNthCalledWith(
1,
"discord gateway: WebSocket connection closed with code 1001",
"gateway: WebSocket connection closed with code 1001",
);
expect(runtime.log).toHaveBeenNthCalledWith(
2,
"discord gateway: Reconnecting with backoff: 1000ms after code 1001",
"gateway: Reconnecting with backoff: 1000ms after code 1001",
);
cleanup();