Verify php_uname
function availability before calling EnvironmentIntegration.setOsContext()
#1243
Labels
Milestone
Similarly to #985, I'm using sentry-php (via wp-sentry) with a WordPress site hosted on Flywheel. Unfortunately, wp-sentry doesn't currently provide a way to properly override the default integrations set up by sentry-php. Looking at the changes made in #1072, it seems like a straightforward way to remedy this issue would be to wrap
EnvironmentIntegration:31
with a check to see if thephp_uname
function is available. Is there any reason not to do this? I'm happy to submit a PR with the change if it makes sense. Thanks!The text was updated successfully, but these errors were encountered: