added log error to store filter
This commit is contained in:
parent
074d5ac97c
commit
fb585fb3a2
1 changed files with 4 additions and 1 deletions
|
@ -883,7 +883,10 @@ func storeFilterResult(filter *Filter, db *gorm.DB, debug bool) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if len(filterOutputs) > 0 {
|
if len(filterOutputs) > 0 {
|
||||||
db.Create(&filterOutputs)
|
tx := db.Create(&filterOutputs)
|
||||||
|
if tx.Error != nil {
|
||||||
|
log.Println("Could not store value:", tx.Error)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue