1 parent
c8cd1d773e
commit
cc2e470ffe
1 file changed
+1
-1
+1
-1
@@ -81,7 +81,7 @@ func (a *App) init() {
|
||||
|
||||
db, err := gorm.Open("sqlite3", DATABASE_PATH)
|
||||
if err != nil {
|
||||
panic("failed to open database: " + err)
|
||||
panic("failed to open database: " + err.Error())
|
||||
}
|
||||
a.db = db
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user