diff --git a/lib/api.js b/lib/api.js index 27c5103..d9aba18 100644 --- a/lib/api.js +++ b/lib/api.js @@ -131,7 +131,7 @@ class ApiClient { this._stream.on('error', (err) => { this._log.error(`Event stream error: ${err.message}`); }); - this._stream.on('reconnect', (err) => { + this._stream.on('reconnect', () => { this._log.warn('Event stream is reconnecting'); }); this._stream.on('reconnect-success', () => {