Skip to content
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

Sentry Domain not filled! error #53

Closed
shuat opened this issue Jun 11, 2020 · 3 comments
Closed

Sentry Domain not filled! error #53

shuat opened this issue Jun 11, 2020 · 3 comments

Comments

@shuat
Copy link

shuat commented Jun 11, 2020

version 2.2.3
magento/product-community-edition 2.3.4
I followed all the install instructions and added the following to env.php

    'sentry' => [
        'dsn' => 'https://45127da1d5534ba2a1e6e83875dc861b@o406150.ingest.sentry.io/5273034',
        'environment' => 'production',
        'log_level' => \Monolog\Logger::WARNING,
        'mage_mode_development' => false,
    ]

I went to Stores > Configuration > JustBetter > Sentry and turned on and tried testing and got the error message Sentry Domain not filled!

What should I do to debug further?

@shuat
Copy link
Author

shuat commented Jun 17, 2020

Putting this here is case anyone else gets stuck and someone should come up with better messaging.

This message means that
$this->helperSentry->isActive() is not active
see this and this

The messaging should be a little better.

This is caused by the fact that my current mode is not production the way around without setting to production is to set 'mage_mode_development' => true,

@pimruiter
Copy link
Member

Hi Shuat,

Thanks for the suggestion. We will improve the message in the current 2.2.4 update we're currently working on, so that the improvement wil be in the upcomming release.

Thanks again.

indykoning added a commit that referenced this issue Jun 29, 2020
#52 Add LogRocket and #53 improve error message
@indykoning
Copy link
Member

Hi Shuat,

The release with better error messages when configuration is missing, or there is a problem is now live!
Thank you for your feedback 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants