Skip to content

Conversation

@NoahStapp
Copy link
Contributor

Our current _decode_all() method can raise an InvalidBSON("invalid object size") error for bad BSON messages. This PR updates that message to be more helpful for users:

invalid object size: expected {obj_size}, got {data_len - position}

@NoahStapp NoahStapp requested a review from a team as a code owner October 27, 2025 14:06
@NoahStapp NoahStapp requested a review from Jibola October 27, 2025 14:06
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.

1 participant