Reputation: 157
community,
i have a symfony project (3.1.10) and use ajax requests (jquery.ajax) to load data. If the request fails, the debugger toolbar shows the error but creates no profiler entry, there is only a n/a in the profile column. So i have no chance to get the reason for the failing. I remember in symfony 2.7 there was a profiler entry for failed ajax requests. Can someone help me?
Upvotes: 2
Views: 3592
Reputation: 46
Make sure that the URL of your AJAX request actually uses the app_dev.php front controller. Otherwise no debug data is recorded for the profiler to display.
Upvotes: 1
Reputation: 1055
Seeing the same. But you know you always can open /_profiler/
page on your instance, find your ajax call and find out what happened.
Upvotes: 0