Is there a way to catch errors from an AJAX request and log them in backend with Log4J? Adding a console.log to my JS is not an option. I really need my AJAX errors logged along with my application log in server side.Is there a way to catch errors from an AJAX req