You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by sp...@apache.org on 2021/11/18 06:18:29 UTC

[apisix] branch master updated: fix: str concat in error call (#5540)

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

spacewander 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 1018576  fix: str concat in error call (#5540)
1018576 is described below

commit 1018576e30477a9d1e70710386aac998a68acc68
Author: cache-missing <90...@users.noreply.github.com>
AuthorDate: Thu Nov 18 14:18:19 2021 +0800

    fix: str concat in error call (#5540)
    
    Co-authored-by: kaihaojiang <ka...@tencent.com>
---
 apisix/plugin.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apisix/plugin.lua b/apisix/plugin.lua
index efdffe4..b1b7d66 100644
--- a/apisix/plugin.lua
+++ b/apisix/plugin.lua
@@ -264,7 +264,7 @@ function _M.load(config)
         local_conf, err = core.config.local_conf(true)
         if not local_conf then
             -- the error is unrecoverable, so we need to raise it
-            error("failed to load the configuration file: ", err)
+            error("failed to load the configuration file: " .. err)
         end
 
         http_plugin_names = local_conf.plugins