(msg)
| 410 | } |
| 411 | |
| 412 | _logError(msg) { |
| 413 | debug(`enter _logError(), state: ${String(this.state)}, uuid: ${this.uuid}`); |
| 414 | const errData = this._errorData(); |
| 415 | logger.error(msg, errData); |
| 416 | debug(`exit _logError(), state: ${String(this.state)}, uuid: ${this.uuid}`); |
| 417 | return false; |
| 418 | } |
| 419 | |
| 420 | _checkState(allowedStates) { |
| 421 | if (allowedStates && !allowedStates.includes(this.state)) { |
no test coverage detected