Re: [pgAdmin4][Patch]: RM #3723 "Error while starting debugginglistener" message displayed if user click on package(function) without body - Mailing list pgadmin-hackers

From Dave Page
Subject Re: [pgAdmin4][Patch]: RM #3723 "Error while starting debugginglistener" message displayed if user click on package(function) without body
Date
Msg-id CA+OCxoze05eav2ae6_RGQvuW_sr2xOBxMpCuOZPukoYHDzDM4g@mail.gmail.com
Whole thread Raw
In response to [pgAdmin4][Patch]: RM #3723 "Error while starting debugging listener" message displayed if user click on package(function) without body  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
List pgadmin-hackers
Thanks - applied.

On Thu, Nov 15, 2018 at 4:06 AM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
Hi Hackers,

Attached is the patch to modify the error message from "Error while starting debugging listener" to the actual message return by the database server. Issue is when we debug the package(function) without body, we got the error message "not executed, package body does not exist". Please refer "psql_error.png" file.

Solution: Instead of showing our own hard coded message, we should show the actual message comes from the database server.

--
Akshay Joshi
Sr. Software Architect


Phone: +91 20-3058-9517
Mobile: +91 976-788-8246


--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Properly report errors when debugging cannot bestart
Next
From: Akshay Joshi
Date:
Subject: [pgAdmin4][Patch]: RM #3354 Debugger does not start if function hasinput vars of type array