From 6521cd440939cc8b83fc22cb04a64b7b1f210b6d Mon Sep 17 00:00:00 2001 From: Elias Braun Date: Mon, 24 Jun 2024 08:08:23 +0200 Subject: [PATCH] Fixed startup bug --- src/database/db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/database/db.go b/src/database/db.go index 85e54c4..159d1e5 100644 --- a/src/database/db.go +++ b/src/database/db.go @@ -35,7 +35,7 @@ func InitalCheckup() { if err := db.Ping(); err != nil { log.SetFlags(log.LstdFlags | log.Lshortfile) log.Printf("Error connecting to database: %v\n", err) - return + panic(err) } db.Exec("CREATE SCHEMA showmaster;") }