Hi, anybody tried blackfire with vendor/bin/consol...
# docker
b
Hi, anybody tried blackfire with vendor/bin/console in spryker projects before? I get only
Profile data is truncated. Please check https://support.blackfire.io/en/collections/145104-troubleshooting
Aggregation canceled.
if I run cmd
blackfire run --ignore-exit-status vendor/bin/console
# or
blackfire run vendor/bin/console
local php file is working with
blackfire run php index.php
# as example -> will profile and forward to blackfire.io
Blackfire environment variables are set; blackfire extension is loaded
h
I’ve experienced similar behavior, but I really do not remember how did I fix that.
Does profiling from browser work?
I have a feeling that downgrading of blackfire agent helped me. But I am not sure.
b
I "fixed" it. I killed in /vendor/spryker/error-handler/src/Spryker/Shared/ErrorHandler/ErrorHandlerEnvironment.php Method: s_etErrorHandler_ This part:
if ($shouldThrowException) {
throw $exception;
}
h
Interesting… 🤔