feat: transform some strings to literals
This commit is contained in:
parent
bb536749df
commit
0ec26540aa
|
@ -109,13 +109,13 @@ export default class Core extends EventEmitter {
|
||||||
await param
|
await param
|
||||||
await this.registerRtt(Date.now() - start)
|
await this.registerRtt(Date.now() - start)
|
||||||
} else {
|
} else {
|
||||||
this.logger.debug('Registered RTT: ' + param + 'ms')
|
this.logger.debug(`Registered RTT: ${param}ms`)
|
||||||
if (this.shortestRTT === 0 || param < this.shortestRTT) {
|
if (this.shortestRTT === 0 || param < this.shortestRTT) {
|
||||||
this.shortestRTT = param
|
this.shortestRTT = param
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
this.logger.debug('Error in promise:', error)
|
this.logger.debug(`Error in promise: ${error}`)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue