Commit 6cb8a9a3 authored by yanzg's avatar yanzg

修改日志打印功能,打印更加详细的日志

parent 9b169a53
...@@ -132,11 +132,11 @@ public class MqServiceImpl implements MqService { ...@@ -132,11 +132,11 @@ public class MqServiceImpl implements MqService {
try { try {
consumerMessage.accept(message); consumerMessage.accept(message);
} catch (CodeException e) { } catch (CodeException e) {
Log.error(MqServiceImpl.class, e);
e.printStackTrace(); e.printStackTrace();
} catch (Exception e) {
Log.error(MqServiceImpl.class, e); Log.error(MqServiceImpl.class, e);
} catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
Log.error(MqServiceImpl.class, e);
if (StringHelper.isEmpty(exchangeName, routeKey)) { if (StringHelper.isEmpty(exchangeName, routeKey)) {
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment