try to avoid SQLITE_BUSY error
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -298,6 +298,7 @@ func SecretsGetMultipleSafes(s *Secret, safeIds []int) ([]Secret, error) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
//log.Printf("GetSecret unable to decrypt stored secret '%v' : '%s'\n", r.Secret, err)
|
//log.Printf("GetSecret unable to decrypt stored secret '%v' : '%s'\n", r.Secret, err)
|
||||||
log.Printf("SecretsGetMultipleSafes unable to decrypt stored secret : '%s'\n", err)
|
log.Printf("SecretsGetMultipleSafes unable to decrypt stored secret : '%s'\n", err)
|
||||||
|
rows.Close()
|
||||||
return secretResults, err
|
return secretResults, err
|
||||||
} else {
|
} else {
|
||||||
secretResults = append(secretResults, r)
|
secretResults = append(secretResults, r)
|
||||||
|
Reference in New Issue
Block a user