Replace the generic exception class with a more specific one to fix SonarQube issues.
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=aa679e06b27cf036d6906fdfd201b26368b10e80
Author: Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>
Modified Files
--------------
.../databases/schemas/tables/columns/utils.py | 6 +++---
.../schemas/tables/compound_triggers/utils.py | 8 +++----
.../tables/constraints/check_constraint/utils.py | 6 +++---
.../constraints/exclusion_constraint/utils.py | 6 +++---
.../tables/constraints/foreign_key/utils.py | 12 +++++------
.../tables/constraints/index_constraint/utils.py | 6 +++---
.../databases/schemas/tables/indexes/utils.py | 6 +++---
.../schemas/tables/row_security_policies/utils.py | 6 +++---
.../databases/schemas/tables/triggers/utils.py | 8 +++----
web/pgadmin/tools/sqleditor/command.py | 16 +++++++-------
.../tools/sqleditor/utils/get_column_types.py | 3 ++-
.../utils/is_query_resultset_updatable.py | 7 +++---
web/pgadmin/utils/exception.py | 25 +++++++++++++++++++++-
web/regression/python_test_utils/test_utils.py | 6 +++---
14 files changed, 73 insertions(+), 48 deletions(-)