wangwei 5 anos atrás
pai
commit
91df88432c

+ 3 - 0
src/main/java/cn/com/qmth/examcloud/web/facepp/FaceppClient.java

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