Log invalid URL
Reviewed By: passy Differential Revision: D35050026 fbshipit-source-id: 95d367a752351a728d355edd56cb68156c80c8b5
This commit is contained in:
committed by
Facebook GitHub Bot
parent
2563d6ffb9
commit
f8e4c0c02c
@@ -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.',
|
||||||
|
|||||||
Reference in New Issue
Block a user