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

From: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin][RM4564] JS errors in the Query Tool are caught as ajax errors
Date: 2019-10-29 12:12:51
Message-ID: CAM9w-_mh7mCri7bsoZjP54wvR=BJb5GtPi3CUGE_18f6qg72WA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

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 Content-Type Size
RM4564.patch application/octet-stream 1.7 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2019-10-29 12:18:52 pgAdmin 4 commit: PEP-8 fix.
Previous Message Dave Page 2019-10-29 11:51:10 Re: [pgAdmin][RM3915] Executing a specific query will break keyboard shorcuts for Query Tool