|
|
@@ -56,7 +56,7 @@ func (b *TaskConfApi) DownloadFile(c *gin.Context) {
|
|
|
downloadFile, err := taskConfService.DownloadFile(taskId, md5String)
|
|
|
if err != nil {
|
|
|
global.GVA_LOG.Error("查询失败!", zap.Error(err))
|
|
|
- response.FailWithMessage("查询失败,无对应脚本", c)
|
|
|
+ response.FailWithMessage(err.Error(), c)
|
|
|
} else {
|
|
|
response.OkWithDetailed(downloadFile, "查询成功", c)
|
|
|
}
|