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

javascript - Clear button on addentry page doesn't work -

python - Error: Unresolved reference 'selenium' What is the reason? -

asp.net ajax - Jquery scroll to element just goes to top of page -