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 -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -