Log request if unknown
This commit is contained in:
parent
2768ab38e6
commit
01bab62190
@ -731,6 +731,9 @@ public class Server : GlobalBase
|
|||||||
SendResponse(HttpStatusCode.Accepted, response);
|
SendResponse(HttpStatusCode.Accepted, response);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Log("Invalid Request:");
|
||||||
|
Log(request.Url!.Query);
|
||||||
|
Log(requestParams);
|
||||||
SendResponse(HttpStatusCode.BadRequest, response);
|
SendResponse(HttpStatusCode.BadRequest, response);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user