Skip to content
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

Fix crash when HTTP connection error message contains formatting symbols #3002

Merged
merged 2 commits into from
Oct 23, 2023

Conversation

markushi
Copy link
Member

@markushi markushi commented Oct 19, 2023

📜 Description

💡 Motivation and Context

Fixes #3001

💚 How did you test it?

📝 Checklist

  • I reviewed the submitted code.
  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.

🔮 Next steps

Copy link
Member

@stefanosiano stefanosiano left a comment

Choose a reason for hiding this comment

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

nice

@github-actions
Copy link
Contributor

github-actions bot commented Oct 19, 2023

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 376.83 ms 459.29 ms 82.45 ms
Size 1.72 MiB 2.29 MiB 576.56 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
c7e2fbc 377.85 ms 426.35 ms 48.50 ms
c7e2fbc 398.35 ms 468.52 ms 70.17 ms
0bf143e 368.35 ms 437.47 ms 69.12 ms
7ca9895 364.31 ms 460.46 ms 96.15 ms
c7e2fbc 393.98 ms 478.24 ms 84.27 ms
99a51e2 405.11 ms 479.65 ms 74.54 ms
4bf95dd 345.96 ms 414.24 ms 68.28 ms
c7e2fbc 372.00 ms 461.71 ms 89.71 ms

App size

Revision Plain With Sentry Diff
c7e2fbc 1.72 MiB 2.29 MiB 576.40 KiB
c7e2fbc 1.72 MiB 2.29 MiB 576.40 KiB
0bf143e 1.72 MiB 2.29 MiB 576.50 KiB
7ca9895 1.72 MiB 2.29 MiB 576.51 KiB
c7e2fbc 1.72 MiB 2.29 MiB 576.40 KiB
99a51e2 1.72 MiB 2.29 MiB 576.34 KiB
4bf95dd 1.72 MiB 2.29 MiB 576.40 KiB
c7e2fbc 1.72 MiB 2.29 MiB 576.40 KiB

Previous results on branch: fix/invalid-format-conversion

Startup times

Revision Plain With Sentry Diff
b63b3d0 398.69 ms 471.40 ms 72.71 ms

App size

Revision Plain With Sentry Diff
b63b3d0 1.72 MiB 2.29 MiB 576.56 KiB

@codecov
Copy link

codecov bot commented Oct 19, 2023

Codecov Report

All modified lines are covered by tests ✅

Files Coverage Δ
.../main/java/io/sentry/transport/HttpConnection.java 91.83% <100.00%> (+11.22%) ⬆️

📢 Thoughts on this report? Let us know!.

@markushi markushi merged commit 3548754 into main Oct 23, 2023
25 checks passed
@markushi markushi deleted the fix/invalid-format-conversion branch October 23, 2023 12: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.

java.util.UnknownFormatConversionException: Conversion = ';'
2 participants