Fix debug log exception on invalid session
This commit is contained in:
1 parent
995a232387
commit
405f9d6a0f
1 file changed
+4
-2
+4
-2
@@ -1570,8 +1570,10 @@ async function listenerAsync(
|
|||||||
return e;
|
return e;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
if (d)
|
if (d) {
|
||||||
debug.outgoingHttpResponse(httpResponse, sessionContext.deviceId, _body);
|
debug.incomingHttpRequest(httpRequest, null, bodyStr);
|
||||||
|
debug.outgoingHttpResponse(httpResponse, null, _body);
|
||||||
|
}
|
||||||
httpResponse.end(_body);
|
httpResponse.end(_body);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user