Skip to content

Conversation

@limbonaut
Copy link
Collaborator

@limbonaut limbonaut commented Sep 30, 2025

Prevent usage of Godot logger during crash handling on Windows/Linux. And this also disables console output when crashing. This should improve crash reporting in some cases, such as memory corruption.


Note

Disable native logger when crashed and document it in the changelog.

  • Native SDK initialization (src/sentry/native/native_sdk.cpp):
    • Set sentry_options_set_logger_enabled_when_crashed(options, false) to disable logging during crash handling.
  • Changelog:
    • Add entry noting logger is disabled when crashing on Native.

Written by Cursor Bugbot for commit e8a5c63. This will update automatically on new commits. Configure here.

@limbonaut limbonaut changed the title chore: Disable logger on Native chore: Disable logger when crashing on Native Sep 30, 2025
@limbonaut limbonaut marked this pull request as ready for review September 30, 2025 15:10
@limbonaut limbonaut changed the title chore: Disable logger when crashing on Native chore: Prevent usage of Godot logger during crash handling on Windows/Linux Sep 30, 2025
@limbonaut limbonaut merged commit 8aea744 into main Oct 1, 2025
47 checks passed
@limbonaut limbonaut deleted the chore/disable-logger-on-native branch October 1, 2025 08:43
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.

3 participants