Skip to content

Commit 1666dc3

Browse files
committed
chore: Restore OCR endpoint log
1 parent 99ed2ee commit 1666dc3

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)