Skip to content

Conversation

@iambriccardo
Copy link
Contributor

@iambriccardo iambriccardo commented Feb 28, 2023

This PR fixes a problem introduced in the redesign PR (#45032), which we overlooked the self.project parameter in the Fetcher.

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Feb 28, 2023
project=self.project,
allow_scraping=organization.get_option("sentry:scrape_javascript", True) is not False
and self.project.get_option("sentry:scrape_javascript", True)
and self.project.get_option("sentry:scrape_javascript", True),
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd move it outside to allow_scraping var, as its hard to read now.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree

@mitsuhiko
Copy link
Contributor

Force merging since this breaks some customers right now. Test failures are flakes.

@mitsuhiko mitsuhiko merged commit b575df1 into master Feb 28, 2023
@mitsuhiko mitsuhiko deleted the fix/project-missing-in-fetcher branch February 28, 2023 17:19
@github-actions github-actions bot locked and limited conversation to collaborators Mar 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants