Skip to content

Commit

Permalink
Merge pull request #5428 from JamiKX1/issue_5326
Browse files Browse the repository at this point in the history
feat: 指标类型提示信息优化 #5326
  • Loading branch information
irwinsun authored Oct 28, 2021
2 parents cf6d31a + 5c522ea commit b1f83a8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
package com.tencent.devops.quality.service.v2

import com.fasterxml.jackson.core.type.TypeReference
import com.tencent.devops.common.api.exception.OperationException
import com.tencent.devops.common.api.exception.ErrorCodeException
import com.tencent.devops.common.api.util.EnvUtils
import com.tencent.devops.common.api.util.HashUtil
Expand Down Expand Up @@ -130,7 +131,7 @@ class QualityRuleBuildHisService constructor(
}
}
}
throw IllegalArgumentException("指标[${requestIndicator.enName}]值类型为[${indicator.thresholdType}]," +
throw OperationException("指标[${requestIndicator.enName}]值类型为[${indicator.thresholdType}]," +
"请修改红线阈值[${requestIndicator.threshold}]")
}

Expand Down

0 comments on commit b1f83a8

Please sign in to comment.