F
F
fandorin_official2018-02-19 17:35:04
JavaScript
fandorin_official, 2018-02-19 17:35:04

How to handle POST 500() error in catch block?

All good.
Sometimes, during the execution of the script, you can catch the POST 500 () jquery.js:1 error, after which the execution stops.
How should it be processed so that the script continues to work?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nick Sdk, 2018-02-19
@lidacriss

on Ajax-events "error" or "ajaxError" hook error handler functions
i.e. type repeat the request
or display an error somewhere

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question