Skip to content

OBPIH-6356 Fixed bug causing fatal exception if sentry.dsn is not pro…#4620

Merged
awalkowiak merged 1 commit intofeature/upgrade-to-grails-3.3.10from
OBPIH-6356-sentry-dsn-required
May 17, 2024
Merged

OBPIH-6356 Fixed bug causing fatal exception if sentry.dsn is not pro…#4620
awalkowiak merged 1 commit intofeature/upgrade-to-grails-3.3.10from
OBPIH-6356-sentry-dsn-required

Conversation

@jmiranda
Copy link
Member

…vided; added default sentry.properties file to classpath; removed old sentry plugin config;

…vided; added default sentry.properties file to classpath; removed old sentry plugin config;
@@ -0,0 +1 @@
dsn=
Copy link
Member

@ewaterman ewaterman May 15, 2024

Choose a reason for hiding this comment

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

does this work? (meaning does it successfully disable sentry?)

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, it's the only thing that does.

Copy link
Member Author

Choose a reason for hiding this comment

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

I was planning to move all of the default config from SentryServletContainerInitializer to this file, but given how much of a pain in the neck this was I didn't want to do more than what was required. So I'll add a ticket to handle that and figuring out a way to get the SentryServletContainerInitializer to work in all environments or replace it with custom init method in BootStrap.groovy.

@awalkowiak awalkowiak merged commit 3f6e8a6 into feature/upgrade-to-grails-3.3.10 May 17, 2024
@awalkowiak awalkowiak deleted the OBPIH-6356-sentry-dsn-required branch May 17, 2024 07:36
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

Successfully merging this pull request may close these issues.

3 participants