added log error to store filter

This commit is contained in:
BroodjeAap 2023-02-10 14:12:02 +00:00
parent 074d5ac97c
commit fb585fb3a2

View file

@ -883,7 +883,10 @@ func storeFilterResult(filter *Filter, db *gorm.DB, debug bool) {
}
}
if len(filterOutputs) > 0 {
db.Create(&filterOutputs)
tx := db.Create(&filterOutputs)
if tx.Error != nil {
log.Println("Could not store value:", tx.Error)
}
}
}