Skip to content

Conversation

@bitsandfoxes
Copy link
Contributor

Because the agent keeps getting confused by it.

#skip-changelog

@github-actions
Copy link
Contributor

github-actions bot commented Feb 3, 2026

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


This PR will not appear in the changelog.


🤖 This preview updates automatically when you update the PR.

@bitsandfoxes bitsandfoxes requested a review from a team February 4, 2026 15:59
Copy link
Member

@JoshuaMoelans JoshuaMoelans left a comment

Choose a reason for hiding this comment

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

Seems like there are a few files which still have the options.DiagnosticLogger?.LogXXX syntax:

}
catch (ThreadAbortException e)
{
Logger?.Log(SentryLevel.Debug, "ANR watchdog thread aborted.", e);
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Logger?.LogDebug("ANR watchdog thread aborted.", e);

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The LogDebug has no overload that takes an exception. The ThreadAbortException is an expected scenario, i.e. when the thread is forcefully terminated during shutdown or domain unload, which is why we swallow this by simply logging.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@bitsandfoxes bitsandfoxes dismissed JoshuaMoelans’s stale review February 5, 2026 16:13

Addressed the concerns.

@bitsandfoxes bitsandfoxes merged commit e8dabfe into main Feb 5, 2026
19 checks passed
@bitsandfoxes bitsandfoxes deleted the chore/log-extension-method branch February 5, 2026 16:14
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