mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-20 17:26:40 +00:00
Debug
This commit is contained in:
@@ -42,12 +42,20 @@ func CreateMyDB() (func(), error) {
|
||||
wait.ForLog("database system is ready to accept connections").
|
||||
WithOccurrence(2).WithStartupTimeout(180*time.Second)),
|
||||
)
|
||||
|
||||
log.Printf("[DEBUG] CreateMyDB - 2")
|
||||
|
||||
if err != nil {
|
||||
log.Printf("[DEBUG] CreateMyDB Error: %s", err)
|
||||
return nil, err
|
||||
}
|
||||
|
||||
log.Printf("[DEBUG] CreateMyDB - 3")
|
||||
|
||||
talksConn, err := c.ConnectionString(ctx)
|
||||
|
||||
log.Printf("[DEBUG] CreateMyDB - ConnectionString: %s, Error: %s", talksConn, err)
|
||||
|
||||
return GetContextDB(ctx, c, talksConn, err, "NETBIRD_STORE_ENGINE_MYSQL_DSN")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user