fix linting error

This commit is contained in:
Dave Horton
2024-01-15 13:25:24 -05:00
parent c1f2a5fa45
commit de3100a4b4

View File

@@ -118,7 +118,8 @@ class Regbot {
expires = parseInt(res.get('Expires'));
}
if (isNaN(expires) || expires < MIN_EXPIRES) {
this.logger.info(`${this.aor}: got expires value of ${expires} registering to ${this.ipv4}:${this.port}, setting it to ${MIN_EXPIRES}`);
this.logger.info({aor: this.aor, ipv4: this.ipv4, port: this.port},
`got expires of ${expires} in 200 OK, too small so setting to ${MIN_EXPIRES}`);
expires = MIN_EXPIRES;
}
debug(`setting timer for next register to ${expires} seconds`);