javascript - Gracefully fail "ERR_CONNECTION_REFUSED" -


i've tried 2 ways of error handling. in javascript , nodejs. retrieving content ajax request api output data onto application every once in while, multiple times day "err_connection_refused". causes entire script break , no longer work. there way gracefully fail error without breaking page? have tried jquery ajax catch, , try{}catch(error){} bypass nothing works.


Comments

Popular posts from this blog

python - RuntimeError: can't re-enter readline -

python - PyInstaller UAC not working in onefile mode -

php - Need to store a large amount of data in session with CI 3 but on storing large data in session it is itself destorying automatically -