ruby on rails - How to detect and display Javascript error from AJAX call in Chrome DevTools -
i have rails app receives form data , renders javascript. here example of such response:
the rails app generates javascript without error , serves correct content-type , status code of 200. on tab in devtools there no apparent error.
however, there error in javascript itself, namely undefined function:
as can see, have "log xmlhttprequests" turned on in devtool settings. javascript errors triggered page events appear in console expected, javascript errors ajax calls don't. way can discover there error in returned javascript copy/paste code response console.
this seems pretty critical feature doesn't exist. missing or not possible chrome devtools? if so, there workaround problem fit workflow?
Comments
Post a Comment