chore(discord): restore gateway log context

This commit is contained in:
Peter Steinberger
2026-01-13 04:35:52 +00:00
parent ccc24e2c26
commit 7c7f4d0eb7
3 changed files with 8 additions and 8 deletions

View File

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