You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm using this package together with sentry and sentry-symfony. When I enable DBAL tracing for sentry, the default connection driver gets wrapped in Sentry's own TracingDriver, but the default connection driver is in turn the MysqlComeBackDriver wrapping the regular DBAL connection, which then causes an error in ConnectionTrait on line 50.
if (!$driver instanceof ServerGoneAwayExceptionsAwareInterface) {
throw new \InvalidArgumentException(
sprintf('%s needs a driver that implements ServerGoneAwayExceptionsAwareInterface', get_class($this))
);
}
See picture: The driver is the Sentry driver decorating the MySqlComeBack driver.
I can fix it by disabling DBAL tracing for Sentry, but I would like to have it enabled.
Hello, I'm using this package together with sentry and sentry-symfony. When I enable DBAL tracing for sentry, the default connection driver gets wrapped in Sentry's own TracingDriver, but the default connection driver is in turn the MysqlComeBackDriver wrapping the regular DBAL connection, which then causes an error in
ConnectionTrait
on line 50.See picture: The driver is the Sentry driver decorating the MySqlComeBack driver.
I can fix it by disabling DBAL tracing for Sentry, but I would like to have it enabled.
Package info:
Any suggestions? Maybe I can somehow change the order in which the drivers get wrapped so that the ComeBack one is always on top.
The text was updated successfully, but these errors were encountered: