(error: string)
| 1143 | } |
| 1144 | |
| 1145 | fail(error: string): void { |
| 1146 | this.endPhase(); |
| 1147 | this.summary.status = 'error'; |
| 1148 | this.summary.endTime = Date.now(); |
| 1149 | this.summary.error = error; |
| 1150 | this.log('error', 'System', 'error', error); |
| 1151 | logEmitter.emit('summary', this.summary); |
| 1152 | persistRequest(this.summary, this.payload); |
| 1153 | } |
| 1154 | } |
no test coverage detected