mirasvit / module-profiler

Magento 2 Profiler
https://mirasvit.com/
Open Software License 3.0
133 stars 36 forks source link

[BUGFIX] None Magento CLI programs crashes #41

Closed krukas closed 6 years ago

krukas commented 6 years ago

When running none Magento 2 programs in the CLI it crashes because the ObjectManager isn't initialized.

We maybe need to add another check if its Magento, because BP is pretty generic and other programs can use this as well.

Ig0r-M-magic42 commented 6 years ago

@krukas will this PR fix following ?? image

krukas commented 6 years ago

@Ig0r-M yes this wil fix that error

Ig0r-M-magic42 commented 6 years ago

Thanks @adrok will test that.