From 67ace5677028fc11ab22b6e5f7f4d34652c1075d Mon Sep 17 00:00:00 2001 From: Evan Hahn Date: Wed, 2 Oct 2024 19:24:48 +0000 Subject: [PATCH] Fix debugging event (still broken, but better debugging) --- src/sync/sync-api.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sync/sync-api.js b/src/sync/sync-api.js index 835949fb2..82f390e0b 100644 --- a/src/sync/sync-api.js +++ b/src/sync/sync-api.js @@ -312,8 +312,8 @@ export class SyncApi extends TypedEmitter { const websocket = new WebSocket(url) // TODO: Remove this after we've debugged why we're getting a 400 error - websocket.on('unexpected-respose', (req, res) => { - console.log('@@@@', 'unexpected response', req, res) + websocket.on('unexpected-response', (req, res) => { + console.log('@@@@', 'unexpected response', res) }) const replicationStream = this.#getReplicationStream()