We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
macOS
Production
Swift Package Manager
7.31.5
No response
If I try to add a breadcrumb with a number set to +inf (e.g. CMTime.positiveInfinity.seconds), Sentry crashes my app.
code to repro:
public extension SentrySDK { static func addBreadcrumb(_ message: String, level: SentryLevel = .info, category: String? = nil, data: [String: Any]? = nil) { let crumb = Breadcrumb() crumb.message = message crumb.level = level if let category { crumb.category = category } crumb.data = data self.addBreadcrumb(crumb: crumb) } } SentrySDK.addBreadcrumb("test", data: ["foo": CMTime.positiveInfinity])
crumb right before:
{ crumb: { error: Invalid JSON data: Invalid character, json_data: {"category":"default","data":{"language":"it","duration":inf,"translate_to":"fa"},"level":"info","message":"ac_subtitle_start","timestamp":"2024-05-05T01:07:36.116Z"} }, language: it }
App doesn't crash.
app crashes with.
The text was updated successfully, but these errors were encountered:
cc @philipphofmann
Sorry, something went wrong.
@ronyfadel, this could be fixed with #3458 released in 8.17.1. Can you try to update to this version and see if the problem persists?
No branches or pull requests
Platform
macOS
Environment
Production
Installed
Swift Package Manager
Version
7.31.5
Did it work on previous versions?
No response
Steps to Reproduce
If I try to add a breadcrumb with a number set to +inf (e.g. CMTime.positiveInfinity.seconds), Sentry crashes my app.
code to repro:
crumb right before:
Expected Result
App doesn't crash.
Actual Result
app crashes with.
Are you willing to submit a PR?
No response
The text was updated successfully, but these errors were encountered: