Skip to content
This repository was archived by the owner on Aug 30, 2023. It is now read-only.

Set SDK version in MainEventProcessor.#513

Merged
maciejwalkowiak merged 1 commit into
masterfrom
set-sdk-in-main-processor
Aug 12, 2020
Merged

Set SDK version in MainEventProcessor.#513
maciejwalkowiak merged 1 commit into
masterfrom
set-sdk-in-main-processor

Conversation

@maciejwalkowiak
Copy link
Copy Markdown
Contributor

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

SDK version should be set outside of Android specific configuration so that it's taken into account for plain sentry-java usage as well as other non-android integrations.

💡 Motivation and Context

When developing Logback integration (#511) I found out that SDK version is not set on SentryEvent even if it's set on SentryOptions.

💚 How did you test it?

"unit tests are green" but I haven't done any real Android device tests.

📝 Checklist

  • I reviewed submitted code
  • I added tests to verify changes
  • All tests passing
  • No breaking changes

🔮 Next steps

Once merged, pull these changes into feature/sentry-java branch so that one test in Logback integration can be un-ignored

Copy link
Copy Markdown
Contributor

@marandaneto marandaneto left a comment

Choose a reason for hiding this comment

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

LGTM

@maciejwalkowiak maciejwalkowiak merged commit 8a0fd9c into master Aug 12, 2020
@maciejwalkowiak maciejwalkowiak deleted the set-sdk-in-main-processor branch August 12, 2020 14:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants