summaryrefslogtreecommitdiff
path: root/controller/boruterimpl.go
diff options
context:
space:
mode:
Diffstat (limited to 'controller/boruterimpl.go')
-rw-r--r--controller/boruterimpl.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/controller/boruterimpl.go b/controller/boruterimpl.go
index 902c58e..e9a059a 100644
--- a/controller/boruterimpl.go
+++ b/controller/boruterimpl.go
@@ -22,6 +22,7 @@ package controller
import (
"fmt"
+ "log"
"sync"
"time"
@@ -300,5 +301,9 @@ func (h *BoruterImpl) Release(j weles.JobID) {
if err != nil {
return
}
- _ = h.boruta.CloseRequest(r)
+ err = h.boruta.CloseRequest(r)
+ if err != nil {
+ log.Printf("While processing %d Job, failed to close %d request in Boruta: %s",
+ j, r, err.Error())
+ }
}