This commit is contained in:
parent
c8cd1d773e
commit
cc2e470ffe
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user