diff --git a/Framework/Backend/log/InfoLoggerReceiver.js b/Framework/Backend/log/InfoLoggerReceiver.js index 58a28e157..4fcd01eef 100644 --- a/Framework/Backend/log/InfoLoggerReceiver.js +++ b/Framework/Backend/log/InfoLoggerReceiver.js @@ -68,6 +68,7 @@ module.exports = class InfoLoggerReceiver extends EventEmitter { this.client.on('error', (error) => { log.error(`Failed to connect to infoLoggerServer ${this.host}:${this.port} - ${error.code}`); this.client.setTimeout(5000, () => { + this.emit('connection-issue', 'Unable to connect to InfoLogger Server. Retrying in 5 seconds...'); log.info('Reconnecting infoLoggerServer socket...'); this.client.connect(this.port, this.host); }); diff --git a/Framework/package-lock.json b/Framework/package-lock.json index bc8ff4b10..03ce45147 100644 --- a/Framework/package-lock.json +++ b/Framework/package-lock.json @@ -1,6 +1,6 @@ { "name": "@aliceo2/web-ui", - "version": "1.9.3", + "version": "1.9.4", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/Framework/package.json b/Framework/package.json index c02250746..ac8682be9 100644 --- a/Framework/package.json +++ b/Framework/package.json @@ -1,6 +1,6 @@ { "name": "@aliceo2/web-ui", - "version": "1.9.3", + "version": "1.9.4", "description": "ALICE O2 Web UX framework", "author": "Adam Wegrzynek", "contributors": [