Skip to content

Add configuration option skip_rake_integration#1453

Merged
st0012 merged 1 commit intogetsentry:masterfrom
westonganger:add_skip_rake_integration
May 27, 2021
Merged

Add configuration option skip_rake_integration#1453
st0012 merged 1 commit intogetsentry:masterfrom
westonganger:add_skip_rake_integration

Conversation

@westonganger
Copy link
Copy Markdown
Contributor

Add configuration option skip_rake_integration. As mentioned in #1378 (comment)

Copy link
Copy Markdown
Contributor

@st0012 st0012 left a comment

Choose a reason for hiding this comment

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

sorry for the delay and thanks for the PR 🙏
just 2 minor changes then I think it'll be good to merge.
also, can you add a changelog entry for this?

end

describe "#skip_rake_integration" do
it "returns true" do
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

can you add another one to confirm that its default is false

end

task :raise_exception_without_rake_integration do
Sentry.init do |config|
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

since the SDK is already initialized, this can be Sentry.configuration.skip_rake_integration = true

@st0012 st0012 added this to the 4.5.0 milestone May 27, 2021
@st0012
Copy link
Copy Markdown
Contributor

st0012 commented May 27, 2021

@westonganger actually, I'll cut a release today so I'll change them manually and make it in 4.5.0 as well 🙂

@st0012 st0012 merged commit b99d728 into getsentry:master May 27, 2021
@st0012 st0012 mentioned this pull request May 27, 2021
st0012 added a commit that referenced this pull request May 27, 2021
* Address feedback

* Update changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants