Commit 7faf50a6 authored by Sean Bleier's avatar Sean Bleier

Adding some debugging information.

parent a41effae
......@@ -141,7 +141,9 @@ def parse_connection_kwargs(server, db=None, **kwargs):
try:
port = int(port)
except (ValueError, TypeError):
raise ImproperlyConfigured("Port value must be an integer")
raise ImproperlyConfigured(
"{0} value must be an integer".format(repr(port))
)
else:
host, port = None, None
unix_socket_path = server
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment