Skip to content

Commit

Permalink
feat: 增加ddc服务批量操作接口 #2776
Browse files Browse the repository at this point in the history
  • Loading branch information
cnlkl committed Dec 3, 2024
1 parent f746413 commit deed588
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ object DdcUtils {
fun toError(e: Exception, statusCode: Int, msg: String): Pair<CbObject, Int> {
if (statusCode == HttpStatus.INTERNAL_SERVER_ERROR.value) {
logger.error("batch op failed:\n${e.stackTraceToString()}")
} else if (statusCode != HttpStatus.NOT_FOUND.value) {
} else if (statusCode != HttpStatus.NOT_FOUND.value && statusCode != HttpStatus.BAD_REQUEST.value) {
logger.info("batch op failed:\n${e.stackTraceToString()}")
}
val obj = CbObject.build {
Expand Down

0 comments on commit deed588

Please sign in to comment.