We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0048798 commit cf58250Copy full SHA for cf58250
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