php-docs-samples icon indicating copy to clipboard operation
php-docs-samples copied to clipboard

Symfony example does not write an error-report

Open do-web opened this issue 5 years ago • 2 comments

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?

do-web avatar Jan 18 '20 12:01 do-web

It seems the version and the serivce is not set. How and where do i set the metadata in the symfony app?

do-web avatar Jan 18 '20 12:01 do-web

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.

bshaffer avatar Mar 03 '20 21:03 bshaffer