Re: [pgAdmin][RM4564] JS errors in the Query Tool are caught as ajax errors - Mailing list pgadmin-hackers

From Dave Page
Subject Re: [pgAdmin][RM4564] JS errors in the Query Tool are caught as ajax errors
Date
Msg-id CA+OCxoy3PxD7YNuV1E1n-=dO_+m3R+0NBRm3NDwCWw-3v3Qqmg@mail.gmail.com
Whole thread Raw
In response to [pgAdmin][RM4564] JS errors in the Query Tool are caught as ajax errors  (Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>)
List pgadmin-hackers
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

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Ensure Javascript errors during Query Tool execution
Next
From: Aditya Toshniwal
Date:
Subject: Re: [pgAdmin][RM4351] Confirm before close of properties dialog ifchanges not saved