justbetter / magento2-sentry

Magento 2 module to log to Sentry
MIT License
165 stars 70 forks source link

Not in production and development mode is false. #70

Closed hieubo98 closed 3 years ago

hieubo98 commented 3 years ago

'sentry' => [ 'dsn' => 'https://627aac5b01a344898ec4a85b9.......', 'logrocket_key' => 'magento-2-test/magento', 'environment' => 'developer', 'log_level' => \Monolog\Logger::WARNING, 'mage_mode_development' => false ]

I got this error when testing sentry

matthiashamacher commented 3 years ago

@nguyentrunghieu98 You get the error because your Magento is not in production mode and Sentry is disabled for developer mode. Either change to production mode bin/magento deploy:mode:set production or set the mage_mode_development to true in your configuration.

hieubo98 commented 3 years ago

Can the Magento 2.4.1 version use the sentry module?

indykoning commented 3 years ago

Yes, it supports and has been tested on 2.4.1 😃