Skip to content
This repository was archived by the owner on Dec 5, 2023. It is now read-only.

Conversation

@PriceChild
Copy link

Logs the error to aid troubleshooting.
e.g.

ts=2019-04-23T10:31:03Z caller=main.go:121 Error="Unable to connect to Database" DSN="username@someserver:password@tcp(someserver.database.azure.com:3306)/socksdb?allowNativePasswords=true&tls=true" ERR="tls: either ServerName or InsecureSkipVerify must be specified in the tls.Config"

(The error shown above is another bug, I think fixed by https://github.com/go-sql-driver/mysql/pull/564/files but not included in the current build)

@coveralls
Copy link

Coverage Status

Coverage remained the same at 25.926% when pulling bfc0f6d on PriceChild:log-db-error into 97545f4 on microservices-demo:master.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants