So I have some code that I cannot edit that sometimes errors out due to various reason I cannot control. This can be a failed ajax call (non-jQuery) or simply a function that fails. Is there any way I can do a generic JS error catch (I do use jQuery) if I do not have access to the code that generates them?
            Asked
            
        
        
            Active
            
        
            Viewed 154 times
        
    0
            
            
        - 
                    1Does that help you ? http://stackoverflow.com/questions/951791/javascript-global-error-handling – Karl-André Gagnon Jul 30 '15 at 15:57
 
    