• Resolved tusharcodingcafe

    (@tusharcodingcafe)


    If any error occurs in the website that error is not logging to the sentry.

    I’ve added the sentry DSN in the wp-config.php file WP_SENTRY_PHP_DSN still errors are not detecting in the sentry. Please help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author stayallive

    (@stayallive)

    Hi!

    There are 3 things to check before we go on:

    • Did you add the WP_SENTRY_PHP_DSN in your wp-config.php _BEFORE_ the That's all, stop editing! Happy blogging. line? If you put it after it might have no effect so try placing it at the top near the database credentials
    • Do the errors occur AFTER the plugin is loaded? Read a little more about this here: https://github.com/stayallive/wp-sentry#loading-sentry-before-wordpress
    • Are you using sentry.io and did you exceed your event limits? Events are dropped if you exceed your plan limits.

    If the above information doesn’t help we can continue if you can provide a little more information about what kind of errors are not logged to Sentry that you would expect to show up in Sentry and where those errors occur?

    Thread Starter tusharcodingcafe

    (@tusharcodingcafe)

    Thanks, its working before adding to the That’s all, stop editing! Happy blogging.

    Plugin Author stayallive

    (@stayallive)

    Good to hear, make sure to never place anything after that line, it’s there for a reason ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Errors are not detecting to the sentry’ is closed to new replies.