diff --git a/app/core/utils/clients/nchan.ts b/app/core/utils/clients/nchan.ts index dd45de1d3..902e71a8a 100644 --- a/app/core/utils/clients/nchan.ts +++ b/app/core/utils/clients/nchan.ts @@ -52,6 +52,10 @@ const subscribe = async (endpoint: string) => new Promise(resolve => { resolve(); }); + sub.on('disconnect', function (_event) { + nchanLogger.debug('NCHAN:DISCONNECTED:%s', endpoint); + }); + sub.on('message', function (message, _messageMetadata) { try { const state = parseConfig({