chagne db failed connection to fatal
This commit is contained in:
@@ -45,7 +45,7 @@ func main() {
|
||||
}
|
||||
sqlitedb, err := db.NewSqliteDB(dbPath)
|
||||
if err != nil {
|
||||
fmt.Errorf("%v", err)
|
||||
log.Fatalf("%v", err)
|
||||
}
|
||||
defer sqlitedb.Close()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user