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

4x4 Matrix in Python -

python - String indices must be integers and while issue -

python - PyInstaller UAC not working in onefile mode -