diff --git a/kong/clustering/services/sync/rpc.lua b/kong/clustering/services/sync/rpc.lua index a81606ad7815..c84a10ecd76e 100644 --- a/kong/clustering/services/sync/rpc.lua +++ b/kong/clustering/services/sync/rpc.lua @@ -195,7 +195,7 @@ local function do_sync() local deltas = ns_delta.deltas if not deltas then - ngx_log(ngx_ERR, "sync get_delta error: deltas is null") + return nil, "sync get_delta error: deltas is null" end if isempty(deltas) then