Skip to content

Commit cf58250

Browse files
committed
fix: Restore OCR endpoint log
This was removed accidentally in 535687.
1 parent 0048798 commit cf58250

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

http.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ func handleOCR(w http.ResponseWriter, r *http.Request) {
3838
}
3939
defer r.Body.Close()
4040

41+
log.Printf("OCR request: image_bytes=%d bat_level=%d bat_voltage=%d", len(imageData), batLevel, batVoltage)
42+
4143
if len(imageData) == 0 {
4244
http.Error(w, "empty body", http.StatusBadRequest)
4345
return

0 commit comments

Comments
 (0)