Skip to content

util/log: properly detect when crash reporting is disabled#35823

Closed
knz wants to merge 1 commit intocockroachdb:masterfrom
knz:20190316-crash-reporting
Closed

util/log: properly detect when crash reporting is disabled#35823
knz wants to merge 1 commit intocockroachdb:masterfrom
knz:20190316-crash-reporting

Conversation

@knz
Copy link
Copy Markdown
Contributor

@knz knz commented Mar 16, 2019

I was testing internal errors with #35820 and SQL logic tests and I ran into a goroutine leak of raven.Client. I was like - that can't be right! SQL logic tests should run with reporting disabled.

Indeed, it "disables" reporting by not running raven.SetDSN however raven.DefaultClient is non-nil by default. So the existing check was incorrect.

Release note: None

@knz knz requested review from dt and tbg March 16, 2019 12:59
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@knz
Copy link
Copy Markdown
Contributor Author

knz commented Mar 18, 2019

Subsumed by #35820

@knz knz closed this Mar 18, 2019
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.

2 participants