More troubleshooting...
This commit is contained in:
parent
28ba465c8a
commit
f84f11a1eb
|
@ -85,11 +85,12 @@ func gloinit() (err error) {
|
|||
}
|
||||
err = InitDatabase()
|
||||
if err != nil {
|
||||
log.Print("err2: ", err)
|
||||
return err
|
||||
}
|
||||
err = afterDBInit()
|
||||
if err != nil {
|
||||
return errors.WithStack(err)
|
||||
return err
|
||||
}
|
||||
|
||||
router, err = NewGenRouter(http.FileServer(http.Dir("./uploads")))
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
/* WIP Under Construction */
|
||||
package qgen
|
||||
|
||||
import "database/sql"
|
||||
import (
|
||||
"database/sql"
|
||||
"log"
|
||||
)
|
||||
|
||||
var Builder *builder
|
||||
|
||||
|
@ -27,6 +30,7 @@ func (build *builder) Init(adapter string, config map[string]string) error {
|
|||
}
|
||||
conn, err := build.adapter.BuildConn(config)
|
||||
build.conn = conn
|
||||
log.Print("err: ", err) // Is the problem here somehow?
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue