feat: add adb screencap sub command

This commit is contained in:
lilong.129
2023-04-14 16:21:02 +08:00
parent c97b84dd39
commit 2ceac61c4c
4 changed files with 58 additions and 3 deletions

View File

@@ -102,7 +102,7 @@ func (s *veDEMOCRService) getOCRResult(imageBuf *bytes.Buffer) ([]OCRResult, err
logID = getLogID(resp.Header)
}
log.Error().Err(err).
Str("logID", logID).
Str("X-TT-LOGID", logID).
Int("imageBufSize", size).
Msgf("request OCR service failed, retry %d", i)
time.Sleep(1 * time.Second)