Skip to content

Commit

Permalink
feat: 支持详细下载失败日志 TencentBlueKing#2326
Browse files Browse the repository at this point in the history
  • Loading branch information
cnlkl committed Jul 2, 2024
1 parent 4a08368 commit 54d3186
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,7 @@ abstract class AbstractArtifactResourceHandler(
val message = exception.message.orEmpty()
val status = if (IOExceptionUtils.isClientBroken(exception)){
HttpStatus.BAD_REQUEST
}
else {
} else {
logger.warn("write range stream failed", exception)
HttpStatus.INTERNAL_SERVER_ERROR
}
Expand Down

0 comments on commit 54d3186

Please sign in to comment.