We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99ed2ee commit 1666dc3Copy full SHA for 1666dc3
1 file changed
http.go
@@ -38,6 +38,8 @@ func handleOCR(w http.ResponseWriter, r *http.Request) {
38
}
39
defer r.Body.Close()
40
41
+ log.Printf("OCR request: image_bytes=%d bat_level=%d bat_voltage=%d", len(imageData), batLevel, batVoltage)
42
+
43
if len(imageData) == 0 {
44
http.Error(w, "empty body", http.StatusBadRequest)
45
return
0 commit comments