This commit is contained in:
2023-10-18 09:49:09 +08:00
parent 5142f9b05a
commit 8f67220508
3 changed files with 15 additions and 7 deletions

View File

@@ -634,7 +634,7 @@ func ImportCmToNF(w http.ResponseWriter, r *http.Request) {
out, err := cmd.CombinedOutput()
log.Tracef("Exec output: %v", string(out))
if err != nil {
log.Error("Faile to execute rpm command:", err)
log.Error("Faile to execute command:", err)
services.ResponseInternalServerError500ProcessError(w, err)
return
}