Skip to content

Commit 5585b9b

Browse files
committed
update
1 parent ace1676 commit 5585b9b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/main/java/com/uid2/operator/service/ResponseUtil.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,12 @@ public static void LogInfoAndSend400Response(RoutingContext rc, String message)
6969

7070
public static void SendClientErrorResponseAndRecordStats(String errorStatus, int statusCode, RoutingContext rc, String message, Integer siteId, TokenResponseStatsCollector.Endpoint endpoint, TokenResponseStatsCollector.ResponseStatus responseStatus, ISiteStore siteProvider, TokenResponseStatsCollector.PlatformType platformType)
7171
{
72-
// 400 error
7372
if (ResponseStatus.ClientError.equals(errorStatus) ||
7473
ResponseStatus.InvalidAppName.equals(errorStatus) ||
7574
ResponseStatus.InvalidHttpOrigin.equals(errorStatus))
7675
{
7776
LogInfoAndSendResponse(errorStatus, statusCode, rc, message);
7877
}
79-
// 4xx error other than 400
8078
else {
8179
LogWarningAndSendResponse(errorStatus, statusCode, rc, message);
8280
}

0 commit comments

Comments
 (0)