Log invalid URL

Reviewed By: passy

Differential Revision: D35050026

fbshipit-source-id: 95d367a752351a728d355edd56cb68156c80c8b5
This commit is contained in:
Andrey Goncharov
2022-03-23 07:37:10 -07:00
committed by Facebook GitHub Bot
parent 2563d6ffb9
commit f8e4c0c02c

View File

@@ -192,6 +192,7 @@ class ServerWebSocket extends ServerAdapter {
if (!clientQuery) { if (!clientQuery) {
console.warn( console.warn(
'[conn] Unable to extract the client query from the request URL.', '[conn] Unable to extract the client query from the request URL.',
request.url,
); );
throw new UnableToExtractClientQueryError( throw new UnableToExtractClientQueryError(
'[conn] Unable to extract the client query from the request URL.', '[conn] Unable to extract the client query from the request URL.',