php-docs-samples
php-docs-samples copied to clipboard
Symfony example does not write an error-report
My application is not hosted on google cloud but i want to use the error reporting and logging in google cloud. The logging works, but the error-reporting not. The subscriber called on an 500 Exception but nothing are logged in error-reporting. Have anyone an idea whats wrong here?
It seems the version and the serivce is not set. How and where do i set the metadata in the symfony app?
I've made some updates to the symfony example (see here) that may fix your issue. Try incorporating these changes, and if that doesn't work, try printing the debugging the 500 being thrown, as there is probably a legitimate error being obfuscated.