Skip to content

Commit

Permalink
Update response.lua
Browse files Browse the repository at this point in the history
code format for error
  • Loading branch information
hankai17 authored Oct 28, 2024
1 parent 11c9d29 commit df300c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apisix/core/response.lua
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ end

local function set_header(append, ...)
if ngx.headers_sent then
error("headers have already been sent", 2)
error("headers have already been sent", 2)
end

local count = select('#', ...)
Expand Down

0 comments on commit df300c0

Please sign in to comment.