chore: removed error output when no qrcode is found
This commit is contained in:
@@ -74,7 +74,7 @@ func (v *visionImpl) AnalyzeImage(filePath string) (data VisionData, err error)
|
||||
reader := qrcode.NewQRCodeReader()
|
||||
result, err := reader.Decode(bmp, nil)
|
||||
if err != nil {
|
||||
v.log.Debug("no qr code found in image", "filePath", filePath, "error", err)
|
||||
v.log.Debug("no qr code found in image", "filePath", filePath)
|
||||
return VisionData{}, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user