This commit is contained in:
@@ -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