mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix Query Tool error messages for psycopg3 driver.
This commit is contained in:
@@ -1635,7 +1635,7 @@ Failed to reset the connection to the server due to following error:
|
||||
# Do not append if error starts with `ERROR:` as most pg related
|
||||
# error starts with `ERROR:`
|
||||
if not errmsg.startswith('ERROR:'):
|
||||
errmsg = gettext('ERROR: ') + errmsg + '\n\n'
|
||||
errmsg = gettext('ERROR: ') + errmsg + ' \n\n'
|
||||
|
||||
if exception_obj.diag.severity is not None \
|
||||
and exception_obj.diag.message_primary is not None:
|
||||
|
||||
Reference in New Issue
Block a user