summaryrefslogtreecommitdiff
path: root/artifacts/artifacts.go
diff options
context:
space:
mode:
Diffstat (limited to 'artifacts/artifacts.go')
-rw-r--r--artifacts/artifacts.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/artifacts/artifacts.go b/artifacts/artifacts.go
index b07a130..5003898 100644
--- a/artifacts/artifacts.go
+++ b/artifacts/artifacts.go
@@ -184,6 +184,9 @@ func (s *Storage) getNewPath(ad weles.ArtifactDescription) (weles.ArtifactPath,
func (s *Storage) listenToChanges() {
for change := range s.notifier {
// Error handled in SetStatus function.
- _ = s.db.SetStatus(change) //nolint: gas, gosec
+ err := s.db.SetStatus(change)
+ if err != nil {
+ log.Println("Failed to set status of artifact.")
+ }
}
}