diff options
author | uvok cheetah | 2023-12-09 17:53:14 +0000 |
---|---|---|
committer | uvok cheetah | 2023-12-09 17:55:24 +0000 |
commit | 250ef5536d04be91e53af514c445b712dff960ef (patch) | |
tree | 3e035d6056ca45c90ec9741a838cd4d5d4dea758 /persistence/sqlite/sqliteRepository.go | |
parent | e5f8c0aab8e2bec4f52aeb22abe7b89eb3b01754 (diff) |
sql: continue on scan error, don't append nil
Diffstat (limited to 'persistence/sqlite/sqliteRepository.go')
-rw-r--r-- | persistence/sqlite/sqliteRepository.go | 1 |
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) } |