We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c21ec8d commit 756b026Copy full SHA for 756b026
.github/workflows/next_deploy.yml
@@ -3,7 +3,7 @@ on:
3
push:
4
branches:
5
- develop # change to main if needed
6
- - next-tfvars
+ - fix/cli-error-reporting
7
8
jobs:
9
deploy:
next/controllers/projects.go
@@ -122,6 +122,12 @@ func (d DiggerController) SetJobStatusForProject(c *gin.Context) {
122
return
123
}
124
125
+ batch.Status = int16(orchestrator_scheduler.BatchJobFailed)
126
+ batchErr := dbmodels.DB.GormDB.Save(batch).Error
127
+ if batchErr != nil {
128
+ log.Printf("error while updating batch status: %v", err)
129
+ }
130
+
131
default:
132
log.Printf("Unexpected status %v", request.Status)
133
c.JSON(http.StatusInternalServerError, gin.H{"error": "Error saving job"})
0 commit comments