summaryrefslogtreecommitdiff
path: root/persistence
diff options
context:
space:
mode:
authoruvok cheetah2023-12-09 17:53:14 +0000
committeruvok cheetah2023-12-09 17:55:24 +0000
commit250ef5536d04be91e53af514c445b712dff960ef (patch)
tree3e035d6056ca45c90ec9741a838cd4d5d4dea758 /persistence
parente5f8c0aab8e2bec4f52aeb22abe7b89eb3b01754 (diff)
sql: continue on scan error, don't append nil
Diffstat (limited to 'persistence')
-rw-r--r--persistence/sqlite/sqliteRepository.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/persistence/sqlite/sqliteRepository.go b/persistence/sqlite/sqliteRepository.go
index 76ac46f..7b66c80 100644
--- a/persistence/sqlite/sqliteRepository.go
+++ b/persistence/sqlite/sqliteRepository.go
@@ -77,6 +77,7 @@ func (repo *sqliteRepository) GetUnconfirmedRegistrations() ([]*registration.Reg
reg, err := rowToRegistration(res)
if err != nil {
log.Printf("Error scanning: %v", err)
+ continue
}
regArray = append(regArray, reg)
}