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
Sentry contains no breadcrumbs generated within command scope.
If I commented out $this->hub->popScope() in \Sentry\SentryBundle\EventListener\ConsoleListener::handleConsoleTerminateEvent , breadcrumbs got into Sentry
The text was updated successfully, but these errors were encountered:
How do you use Sentry?
Self-hosted / on-premises
SDK version
3.5.0
Steps to reproduce
I have prepared minimal symfony project with sentry integration: https://github.com/Dukecz/sentrysymfonycommand
php bin/console app:test
Expected result
Sentry should contain all logged events (https://github.com/Dukecz/sentrysymfonycommand/blob/master/src/Command/TestCommand.php) in breadcrumbs with context as it does when they are logged outside command.
Actual result
Sentry contains no breadcrumbs generated within command scope.
If I commented out
$this->hub->popScope()
in\Sentry\SentryBundle\EventListener\ConsoleListener::handleConsoleTerminateEvent
, breadcrumbs got into SentryThe text was updated successfully, but these errors were encountered: