This repository has been archived by the owner. It is now read-only.

Add a trace when a empty response is send #985

Closed
wants to merge 1 commit into
from
Jump to file or symbol
Failed to load files and symbols.
+1 −0
Split
View
@@ -591,6 +591,7 @@ OutgoingMessage.prototype.write = function(chunk, encoding) {
}
if (!this._hasBody) {
+ console.trace();
console.error('This type of response MUST NOT have a body. ' +
'Ignoring write() calls.');
return true;