[pgAdmin][SonarQube] Replace the generic exception class with a more specific one

From: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin][SonarQube] Replace the generic exception class with a more specific one
Date: 2020-08-05 05:38:29
Message-ID: CAM9w-_mCf+nEhMDdWoEXZg+SVH4o1FEJ2EGxeZFFwvTUrVqsEg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Hackers,

Attached is the patch to replace the generic exception class with a newly
added ExecuteError class for all the places where error occurs when a SQL
is executed.
This fixes around 34 issues.

Please review.
--
Thanks,
Aditya Toshniwal
pgAdmin hacker | Sr. Software Engineer | *edbpostgres.com*
<http://edbpostgres.com>
"Don't Complain about Heat, Plant a TREE"

Attachment Content-Type Size
sonarqube.executeerror.patch application/octet-stream 20.6 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2020-08-05 07:11:38 pgAdmin 4 commit: Change the scope of '.dashboard-graph-body' CSS class
Previous Message Nikhil Mohite 2020-08-05 05:01:51 Patch for SonarQube code scan fixes.