|
@@ -107,7 +107,11 @@ public class ScoreV2ThresholdPredictModel extends ThresholdPredictModel {
|
|
result.put("threshold", threshold);
|
|
result.put("threshold", threshold);
|
|
result.put("score", maxItem == null ? -1 : maxItem.getScore());
|
|
result.put("score", maxItem == null ? -1 : maxItem.getScore());
|
|
result.put("ad_predict", adPredict);
|
|
result.put("ad_predict", adPredict);
|
|
- log.info("svc=predict modelName=modelV2 mergingDigestThreshold={}", ThresholdModelContainer.getThresholdByTDigest(position));
|
|
|
|
|
|
+ try {
|
|
|
|
+ log.info("svc=predict modelName=modelV2 mergingDigestThreshold={}", ThresholdModelContainer.getThresholdByTDigest(position));
|
|
|
|
+ }catch (Exception e){
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
|
|
return result;
|
|
return result;
|
|
}
|
|
}
|