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

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: [pgAdmin][RM4564] JS errors in the Query Tool are caught as ajax errors
Дата
Msg-id CA+OCxoy3PxD7YNuV1E1n-=dO_+m3R+0NBRm3NDwCWw-3v3Qqmg@mail.gmail.com
обсуждение исходный текст
Ответ на [pgAdmin][RM4564] JS errors in the Query Tool are caught as ajax errors  (Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>)
Список 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 по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: pgAdmin 4 commit: Ensure Javascript errors during Query Tool execution
Следующее
От: Aditya Toshniwal
Дата:
Сообщение: Re: [pgAdmin][RM4351] Confirm before close of properties dialog ifchanges not saved