()
| 52701 | channels.error.publish({ request: this, error }); |
| 52702 | } |
| 52703 | if (this.aborted) { |
| 52704 | return; |
| 52705 | } |
| 52706 | this.aborted = true; |
| 52707 | return this[kHandler].onError(error); |
| 52708 | } |
| 52709 | onFinally() { |
| 52710 | if (this.errorHandler) { |
| 52711 | this.body.off("error", this.errorHandler); |
| 52712 | this.errorHandler = null; |
| 52713 | } |
| 52714 | if (this.endHandler) { |
| 52715 | this.body.off("end", this.endHandler); |
no test coverage detected