Fixed an issue where error message from the database server need space between two sentences. #8165

This commit is contained in:
Akshay Joshi
2025-01-02 18:14:51 +05:30
parent d03553be7a
commit ff1d9e20d1
2 changed files with 3 additions and 1 deletions

View File

@@ -1680,7 +1680,7 @@ Failed to reset the connection to the server due to following error:
elif hasattr(exception_obj, 'diag') and \
hasattr(exception_obj.diag, 'message_detail') and\
exception_obj.diag.message_detail is not None:
errmsg = exception_obj.diag.message_detail + \
errmsg = exception_obj.diag.message_detail + '\n' + \
exception_obj.diag.message_primary
else:
errmsg = str(exception_obj)