Skip to content

Don't mask MySQL error messages #1943

@mdmintz

Description

@mdmintz

Don't mask MySQL error messages

Currently seeing: Unable to connect to Database after 3 retries.

But that was hiding this message: pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on '127.0.0.1' ([Errno 61] Connection refused)") (which is more useful)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions