Skip to content

Commit 1bbe8b3

Browse files
author
zhanq
committed
change log level, update version to 1.2.3.
1 parent c6b7a2e commit 1bbe8b3

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<groupId>cn.jpush.api</groupId>
55
<artifactId>jiguang-common</artifactId>
6-
<version>1.2.2</version>
6+
<version>1.2.3</version>
77
<packaging>jar</packaging>
88
<url>https://github.com/jpush/jiguang-java-client-common</url>
99
<name>Jiguang Client Common Dependencies</name>

src/main/java/cn/jiguang/common/connection/ApacheHttpClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ public void processResponse(CloseableHttpResponse response, ResponseWrapper wrap
459459

460460
switch (status) {
461461
case 400:
462-
LOG.error("Your request params is invalid. Please check them according to error message.");
462+
LOG.warn("Your request params is invalid. Please check them according to error message.");
463463
wrapper.setErrorObject();
464464
break;
465465
case 401:

src/main/java/cn/jiguang/common/connection/Http2Client.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public void handleResponse(ResponseWrapper wrapper, Request request) throws IOEx
125125

126126
switch (status) {
127127
case 400:
128-
LOG.error("Your request params is invalid. Please check them according to error message.");
128+
LOG.warn("Your request params is invalid. Please check them according to error message.");
129129
wrapper.setErrorObject();
130130
break;
131131
case 401:

src/main/java/cn/jiguang/common/connection/NativeHttpClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ private ResponseWrapper _doRequest(String url, String content,
197197

198198
switch (status) {
199199
case 400:
200-
LOG.error("Your request params is invalid. Please check them according to error message.");
200+
LOG.warn("Your request params is invalid. Please check them according to error message.");
201201
wrapper.setErrorObject();
202202
break;
203203
case 401:

src/main/java/cn/jiguang/common/connection/NettyHttpClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ private ResponseWrapper sendHttpRequest(HttpMethod method, String url, String bo
204204

205205
switch (status) {
206206
case 400:
207-
LOG.error("Your request params is invalid. Please check them according to error message.");
207+
LOG.warn("Your request params is invalid. Please check them according to error message.");
208208
wrapper.setErrorObject();
209209
break;
210210
case 401:

0 commit comments

Comments
 (0)