Skip to content

Commit 1aeace7

Browse files
author
shuwen5
committed
log writer/reader indent
1 parent eec869c commit 1aeace7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/pipe/pipe.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ local function wrap_co_func(co, ...)
3030
err_code, err_msg = 'CoroutineError', rst
3131
end
3232
co.err = {err_code = err_code, err_msg = err_msg}
33-
ngx.log(ngx.ERR, to_str(co.rd_or_wrt, " coroutine exit with error:", co.err))
33+
ngx.log(ngx.ERR, to_str(co.rd_or_wrt, ' ', co.ident, " coroutine exit with error:", co.err))
3434
end
3535

3636
co.is_dead = true

0 commit comments

Comments
 (0)