Skip to content

Conversation

@alber70g
Copy link
Contributor

@alber70g alber70g commented Jul 24, 2025

This is a proposal. I haven't tested the code. Feel free to implement this differently

* Sentry configuration
*/
const SENTRY_DSN = getRequiredEnvString('SENTRY_DSN');
const SENTRY_DSN = process.env['SENTRY_DSN'];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you tested whether process.env is working globally for this process env import?

Copy link
Contributor Author

@alber70g alber70g Jul 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't tested as mentioned in the PR text Slack chat

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad, didn't catch that. There was a minor issue, I've fixed and tested it. It's okey now.

@0xneves 0xneves merged commit d5bdc50 into hack-a-chain-software:main Jul 24, 2025
2 checks passed
@0xneves 0xneves changed the title Can we have Sentry optionally instead of mandatory refactor: sentry is not mandatory to start the indexer Jul 24, 2025
@0xneves 0xneves moved this to Done in Kadindexer Jul 24, 2025
@0xneves 0xneves added the type: enhancement Improvements to the codebase label Jul 24, 2025
@0xneves 0xneves self-assigned this Jul 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: enhancement Improvements to the codebase

Projects

Status: Done ✅

Development

Successfully merging this pull request may close these issues.

2 participants