Skip to content

Conversation

limbonaut
Copy link
Collaborator

@limbonaut limbonaut commented May 22, 2025

  • Remove on_crash callback, since it is practically the same as before_send.
  • Call before_send for crash events instead.
  • Add SentryEvent.is_crash() method.

Before merge:

  • Update docs

@limbonaut limbonaut linked an issue May 22, 2025 that may be closed by this pull request
@limbonaut limbonaut marked this pull request as ready for review May 22, 2025 18:14
@limbonaut limbonaut merged commit b7640a5 into main May 25, 2025
21 checks passed
@limbonaut limbonaut deleted the ref/remove-on-crash-hook branch May 25, 2025 09:07
Copy link
Contributor

Fails
🚫 Please consider adding a changelog entry for the next release.

Instructions and example for changelog

Please add an entry to CHANGELOG.md to the "Unreleased" section. Make sure the entry includes this PR's number.

Example:

## Unreleased

- Remove `on_crash` hook in favor of `event.is_crash()` ([#181](https://github.com/getsentry/sentry-godot/pull/181))

If none of the above apply, you can opt out of this check by adding #skip-changelog to the PR description.

Generated by 🚫 dangerJS against 77a28d7

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.

Remove on_crash callback in favor of event.is_crash()
2 participants