-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught Exception becomes two occurences in Rollbar app #36
Comments
After some more testing, I can make the following distinction. Errors logged via a call to Monolog, are logged once. $psrLogger->error('Testing Rollbar', ['someVar' => 'someValue']); Uncaught throw new TestingRollbarException('Is this thing on?'); |
The problem is caused by having the bundle register listeners for the Symfony standard registers the Output of
That is how when using this SDK, uncaught exceptions show up twice in Rollbar. @ArturMoczulski Could you please remove the listeners? |
@hngl thank you for PR. I merged it in. |
When using a basic Symfony 4 setup with the setup of the bundle as described in the Rollbar Symfony docs, one Exception thrown becomes 2 lines in the occurrences table.
Setup
config/bundles.php
config/packages/prod/rollbar.yaml
config/packages/monolog.yaml
config/packages/prod/monolog.yaml
The text was updated successfully, but these errors were encountered: