Skip to content

fix(sourcemaps): Fix non project - #45191

Merged
mitsuhiko merged 2 commits into
masterfrom
fix/project-missing-in-fetcher
Feb 28, 2023
Merged

fix(sourcemaps): Fix non project#45191
mitsuhiko merged 2 commits into
masterfrom
fix/project-missing-in-fetcher

Conversation

@iambriccardo

@iambriccardo iambriccardo commented Feb 28, 2023

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

3 participants