This is an automated email from the ASF dual-hosted git repository.

wenming pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new abf5674  style: tweak error log in kafka-logger (#2387)
abf5674 is described below

commit abf5674b63c7106ac4601d829787194031735173
Author: 罗泽轩 <[email protected]>
AuthorDate: Sun Oct 11 17:22:52 2020 +0800

    style: tweak error log in kafka-logger (#2387)
---
 apisix/plugins/kafka-logger.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apisix/plugins/kafka-logger.lua b/apisix/plugins/kafka-logger.lua
index 0f7e767..d2fa146 100644
--- a/apisix/plugins/kafka-logger.lua
+++ b/apisix/plugins/kafka-logger.lua
@@ -95,7 +95,7 @@ local function send_kafka_data(conf, log_message)
 
     local ok, err = prod:send(conf.kafka_topic, conf.key, log_message)
     if not ok then
-        return nil, "failed to send data to Kafka topic" .. err
+        return nil, "failed to send data to Kafka topic: " .. err
     end
 
     return true

Reply via email to