Thread: [pgAdmin][RM4564] JS errors in the Query Tool are caught as ajax errors

[pgAdmin][RM4564] JS errors in the Query Tool are caught as ajax errors

From
Aditya Toshniwal
Date:
Hi Hackers,

Attached is the patch to throw JS errors to browser consoles. JS errors after execute are now caught by axios catch which shows a false message - "Not connected to the server or the connection to the server has been closed."
This will help is debugging in case of JS erors.

Kindly review.

--
Thanks and Regards,
Aditya Toshniwal
Sr. Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"
Attachment

Re: [pgAdmin][RM4564] JS errors in the Query Tool are caught as ajax errors

From
Dave Page
Date:
Thanks, patch applied.

On Tue, Oct 29, 2019 at 12:13 PM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi Hackers,

Attached is the patch to throw JS errors to browser consoles. JS errors after execute are now caught by axios catch which shows a false message - "Not connected to the server or the connection to the server has been closed."
This will help is debugging in case of JS erors.

Kindly review.

--
Thanks and Regards,
Aditya Toshniwal
Sr. Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"


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

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