mirror of
https://github.com/safing/portbase
synced 2025-09-01 18:19:57 +00:00
Fix database api serialization warnings
This commit is contained in:
parent
b50f922fb5
commit
f57c4a4874
1 changed files with 1 additions and 0 deletions
|
@ -346,6 +346,7 @@ func (api *DatabaseAPI) processQuery(opID []byte, q *query.Query) (ok bool) {
|
|||
data, err := marshalRecord(r, true)
|
||||
if err != nil {
|
||||
api.send(opID, dbMsgTypeWarning, err.Error(), nil)
|
||||
continue
|
||||
}
|
||||
api.send(opID, dbMsgTypeOk, r.Key(), data)
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue