Skip to content

Commit 90f692e

Browse files
committed
change the error call
1 parent 076f5fa commit 90f692e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apisix/plugins/opa/helper.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ end
3737
local function get_body_for_request()
3838
local original_body, err = core.request.get_body()
3939
if err ~= nil then
40-
error("opa - failed to get request body: ", err)
40+
error("opa - failed to get request body: " .. err)
4141
end
4242
if original_body == nil then
4343
return nil

0 commit comments

Comments
 (0)