Skip to content

Commit

Permalink
Trying to find bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharpz7 committed Jan 2, 2021
1 parent 27de7ad commit 68b1acc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jobs.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ func (job *taskJob) Stop() {
cmd = job.DockerStop()
}

err := cmd.Run()
handleAPI(err, job, "Failed to Stop Job")
out, err := cmd.CombinedOutput()
handleAPI(err, job, string(out))

// Sleeps to API can pick it up
time.Sleep(2 * time.Second)
Expand Down

0 comments on commit 68b1acc

Please sign in to comment.