mirror of
https://github.com/php/frankenphp.git
synced 2026-03-24 00:52:11 +01:00
chore: reduce write error level to warn in logs
This commit is contained in:
@@ -429,7 +429,7 @@ func go_ub_write(threadIndex C.uintptr_t, cBuf *C.char, length C.int) (C.size_t,
|
||||
|
||||
i, e := writer.Write(unsafe.Slice((*byte)(unsafe.Pointer(cBuf)), length))
|
||||
if e != nil {
|
||||
fc.logger.LogAttrs(context.Background(), slog.LevelError, "write error", slog.Any("error", e))
|
||||
fc.logger.LogAttrs(context.Background(), slog.LevelWarn, "write error", slog.Any("error", e))
|
||||
}
|
||||
|
||||
if fc.responseWriter == nil {
|
||||
|
||||
Reference in New Issue
Block a user