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

From Aditya Toshniwal
Subject [pgAdmin][RM4564] JS errors in the Query Tool are caught as ajax errors
Date
Msg-id CAM9w-_mh7mCri7bsoZjP54wvR=BJb5GtPi3CUGE_18f6qg72WA@mail.gmail.com
Whole thread Raw
Responses Re: [pgAdmin][RM4564] JS errors in the Query Tool are caught as ajax errors  (Dave Page <dpage@pgadmin.org>)
List 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

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: [pgAdmin][RM3915] Executing a specific query will break keyboardshorcuts for Query Tool
Next
From: Dave Page
Date:
Subject: pgAdmin 4 commit: PEP-8 fix.