From 0ec26540aafbacd1054c945cca7da7fe86eef054 Mon Sep 17 00:00:00 2001 From: CosminPerRam Date: Fri, 23 Feb 2024 03:28:01 +0200 Subject: [PATCH] feat: transform some strings to literals --- protocols/core.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protocols/core.js b/protocols/core.js index 063ce93..02e5c4c 100644 --- a/protocols/core.js +++ b/protocols/core.js @@ -109,13 +109,13 @@ export default class Core extends EventEmitter { await param await this.registerRtt(Date.now() - start) } else { - this.logger.debug('Registered RTT: ' + param + 'ms') + this.logger.debug(`Registered RTT: ${param}ms`) if (this.shortestRTT === 0 || param < this.shortestRTT) { this.shortestRTT = param } } } catch (error) { - this.logger.debug('Error in promise:', error) + this.logger.debug(`Error in promise: ${error}`) } }