I wrote an app using laravel 5.2. I have a route that is for some reason "every now and then" returns HTTP error 500. I am adding the csrf token to each request so I am puzzled on what is causing this issue.
I am using clockwork plugin with my project to help me debug my application. When I execute the route it works so I can't spot the issue. What I would like to do is use clockwork logs to help me trace the issue that happens when other people encounter it.
I would like to add the response code to be logged with the logs coming from clockwork so when the issue happens I can trace it correctly by searching for code 500 in my Jason files.
How can I add a filter to clockwork to capture the response code coming from the server to the rest of the log?
The laravel.log does not have anything useful for me to go about.
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1VXk55r
via IFTTT
Aucun commentaire:
Enregistrer un commentaire