diff options
| author | Jeff Carr <[email protected]> | 2025-09-07 21:38:29 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-07 21:41:31 -0500 |
| commit | 43281eea6fdfcc534e695ebc58ad929281bf7a3e (patch) | |
| tree | f4508ecbead25ea0678244fab05a577037dd3933 /patchset.http.go | |
| parent | 16b0cad8364938950b8d2d2141e2c0a923c8fd48 (diff) | |
added logging to the http PBv0.0.131
Diffstat (limited to 'patchset.http.go')
| -rw-r--r-- | patchset.http.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/patchset.http.go b/patchset.http.go index 35330aa..8bce433 100644 --- a/patchset.http.go +++ b/patchset.http.go @@ -121,6 +121,8 @@ func (p *Patchsets) SendReply(w http.ResponseWriter, reqPB *httppb.HttpRequest) i, err := w.Write(data) if err != nil { reqPB.Errors = append(reqPB.Errors, log.Sprintf("i=%d %v", i, err)) + } else { + reqPB.Errors = append(reqPB.Errors, log.Sprintf("sent %d bytes back to client ok", i)) } return err } |
