Baldinof / roadrunner-bundle

A RoadRunner worker integrated in your Symfony app
MIT License
255 stars 46 forks source link

SentryMiddleware incompatibility with sentry ^4.0 #140

Closed WaylandAce closed 2 months ago

WaylandAce commented 2 months ago

Hello guys! Sentry team had changed signature of "flush" method from PromiseInterface: https://github.com/getsentry/sentry-php/blob/3.22.1/src/ClientInterface.php#L81 to "Result" https://github.com/getsentry/sentry-php/blob/4.0.0/src/ClientInterface.php#L78

And integration is seems to be broken and generates a lot of extra sentry events

Error: Call to undefined method Sentry\Transport\Result::wait()
  File "/public/index.php", line 7
    require_once dirname(__DIR__) . '/vendor/autoload_runtime.php';
...
(3 additional frame(s) were not displayed)