Skip to content

Better Details for BSON Deserialization ErrorsΒ #435

@clarkmcc

Description

@clarkmcc

When I get a BSON deserialization error, it looks something like this

invalid type: unit value, expected a sequence

Is it possible to have the error contain more helpful information, like the path or something like that? I've been stomping out little deserialization issues for the last several months, and it's tricky to figure out exactly what set it off.

Metadata

Metadata

Assignees

Labels

tracked-in-jiraTicket filed in Mongo's Jira system

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions