Skip to content

fix: Logging during option creation, Configure and Init #1959

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Jan 14, 2025

Conversation

bitsandfoxes
Copy link
Contributor

Previously, we've setup logging before calling the user's Configure callback. But by doing so, we're ignoring changes to the options until the SDK itself initializes. That way, if the ScriptableUnityOptions would not have debug enabled, we'd miss out on all debug logs between option creation and initialization - That's native configuration in this case.

Base automatically changed from fix/ci-android-smoke-testing to main January 14, 2025 13:32
@bitsandfoxes bitsandfoxes merged commit 03d62e0 into main Jan 14, 2025
11 of 12 checks passed
@bitsandfoxes bitsandfoxes deleted the fix/android-device-tests-2 branch January 14, 2025 13:33
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

- Logging during `option creation`, `Configure` and `Init` ([#1959](https://github.com/getsentry/sentry-unity/pull/1959))

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 67f7e3e

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