From a2d4bf7d43843c917320dcc11fe51f2f60152638 Mon Sep 17 00:00:00 2001 From: heavyrian2012 Date: Wed, 12 Oct 2022 17:08:35 +0800 Subject: [PATCH] =?UTF-8?q?http=E5=9B=9E=E8=B0=83=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E7=94=A8error=E6=89=93=E5=8D=B0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- broker/src/main/java/win/liyufan/im/HttpUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/broker/src/main/java/win/liyufan/im/HttpUtils.java b/broker/src/main/java/win/liyufan/im/HttpUtils.java index 7a1b4dbe..75eecc96 100644 --- a/broker/src/main/java/win/liyufan/im/HttpUtils.java +++ b/broker/src/main/java/win/liyufan/im/HttpUtils.java @@ -87,8 +87,8 @@ public class HttpUtils { } System.out.println(logText); e.printStackTrace(); - LOG.info(logText); - LOG.info("POST to {} with data {} failure", url, jsonStr); + LOG.error(logText); + LOG.error("POST to {} with data {} failure", url, jsonStr); if(httpCallback != null) { httpCallback.onFailure(-1, e.getMessage()); }