Improve the logic for Bad handling of missing connection database server RM #1387

This commit is contained in:
Ashesh Vashi
2016-09-06 15:35:20 +05:30
committed by Akshay Joshi
parent 8b61aa49d0
commit 8ac65070bc
3 changed files with 243 additions and 113 deletions

View File

@@ -818,7 +818,7 @@ class ServerNode(PGChildNodeView):
'servers/password.html',
server_label=server.name,
username=server.username,
errmsg=e.message if e.message else str(e),
errmsg=getattr(e, 'message', str(e)),
_=gettext
)
)