mirror of
https://github.com/gamedig/node-gamedig.git
synced 2024-11-16 00:38:31 +01:00
feat: transform some strings to literals
This commit is contained in:
parent
bb536749df
commit
0ec26540aa
1 changed files with 2 additions and 2 deletions
|
@ -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}`)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue