google-cloud-php icon indicating copy to clipboard operation
google-cloud-php copied to clipboard

[error-reporting] Support httpRequest and user context

Open mpskovvang opened this issue 5 years ago • 1 comments

It is currently not possible to provide httpRequest or user context without extending the Boostrap class.

Could we have an option to provide those at initialization or using a callback? Perhaps a default implementation for httpRequest could be included with variables from $_SERVER.

Source: https://cloud.google.com/error-reporting/docs/formatting-error-messages#json_representation

mpskovvang avatar May 28 '19 07:05 mpskovvang

I'm also interested in such feature.

igoooor avatar May 02 '20 13:05 igoooor