v0.9.3 db and web fixes for deployment
This commit is contained in:
@ -75,6 +75,9 @@ func main() {
|
||||
if err != nil {
|
||||
log.Fatalf("Failed to initialize storage: %v", err)
|
||||
}
|
||||
if err := store.InitDB(); err != nil {
|
||||
log.Fatalf("Failed to initialize schema: %v", err)
|
||||
}
|
||||
defer func() {
|
||||
if err := store.Close(); err != nil {
|
||||
log.Printf("Warning: failed to close storage cleanly: %v", err)
|
||||
@ -189,4 +192,5 @@ func main() {
|
||||
}
|
||||
|
||||
log.Println("Servers exited")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user