mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 02:55:24 +00:00
Returns error if driver name is not listed.
Also remove references to postgresql driver for now. And add some comments for `database.Init` method.
This commit is contained in:
@@ -63,7 +63,7 @@ func main() {
|
||||
|
||||
// setup database and handlers
|
||||
if err := database.Init(driver, datasource); err != nil {
|
||||
log.Fatal("Can't initialize database:", err)
|
||||
log.Fatal("Can't initialize database: ", err)
|
||||
}
|
||||
setupStatic()
|
||||
setupHandlers()
|
||||
|
Reference in New Issue
Block a user