|
@@ -333,7 +333,7 @@ public class FaceppClient {
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
log.error("[Face++]. compareWithTokenAndBase64(String,String); faceToken=" + faceToken
|
|
log.error("[Face++]. compareWithTokenAndBase64(String,String); faceToken=" + faceToken
|
|
+ "; imageBase64=" + imageBase64 + "; cost " + (System.currentTimeMillis() - s)
|
|
+ "; imageBase64=" + imageBase64 + "; cost " + (System.currentTimeMillis() - s)
|
|
- + " ms.");
|
|
|
|
|
|
+ + " ms.", e);
|
|
throw new ExamCloudRuntimeException(e);
|
|
throw new ExamCloudRuntimeException(e);
|
|
} finally {
|
|
} finally {
|
|
IOUtils.closeQuietly(response);
|
|
IOUtils.closeQuietly(response);
|
|
@@ -397,6 +397,9 @@ public class FaceppClient {
|
|
}
|
|
}
|
|
|
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
|
+ log.debug("[Face++]. compareWithImageUrl(String,String); image_url1=" + imageUrl1
|
|
|
|
+ + "; imageUrl2=" + imageUrl2 + "; cost " + (System.currentTimeMillis() - s)
|
|
|
|
+ + " ms.", e);
|
|
throw new ExamCloudRuntimeException(e);
|
|
throw new ExamCloudRuntimeException(e);
|
|
} finally {
|
|
} finally {
|
|
IOUtils.closeQuietly(response);
|
|
IOUtils.closeQuietly(response);
|