fix: unhandled errors

Signed-off-by: skidoodle <contact@albert.lol>
This commit is contained in:
2026-01-18 21:19:42 +01:00
parent 73ee7a9a14
commit 8b638275b8
5 changed files with 160 additions and 47 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ func InitDB(storageDir string) (*bbolt.DB, error) {
})
if err != nil {
db.Close()
_ = db.Close()
return nil, err
}