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:

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:

console log

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

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -