Skip to content

Missing part of crash message #3905

@sindresorhus

Description

@sindresorhus

Platform

macOS

Environment

Production

Installed

Swift Package Manager

Version

8.24.0

Did it work on previous versions?

No response

Steps to Reproduce

Some code crashes in production for violating the Swift Hashable requirement.

Crash report: https://sindresorhus.sentry.io/share/issue/ab8eb435cc71469082a07cdbece72d70/

Expected Result

I expected to see the full error message.

Actual Result

Sentry only shows part of it, making it impossible to track down the issue.

Sentry shows:

' were found in a Dictionary.

While it should have shown:

Duplicate keys of type 'SomeKeyType' were found in a Dictionary.

Kinda looks like some sanitizing going wrong.

Are you willing to submit a PR?

No response

Metadata

Metadata

Labels

Projects

Status

Done

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions