-
-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Following the Symfony Messenger configuration https://docs.blackfire.io/php/integrations/symfony/messenger
framework:
messenger:
buses:
messenger.bus.default:
middleware:
- 'Blackfire\Bridge\Symfony\MonitoredMiddleware'
services:
Blackfire\Bridge\Symfony\MonitoredMiddleware: ~
I've got a crash in MonitoredMiddleware at line 32: Class "BlackfireProbe" not found.
And it's true: on my local machine, I don't have the probe installed.
I fixed it by adding
when@prod:
So that MonitoredMiddleware only works on my prod env.
But I still think that if phpversion('blackfire') returns false, it should fail silently or log.
Metadata
Metadata
Assignees
Labels
No labels