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

Add an source index to RESP3ParsingError #77

Open
Joannis opened this issue Jul 6, 2023 · 0 comments
Open

Add an source index to RESP3ParsingError #77

Joannis opened this issue Jul 6, 2023 · 0 comments

Comments

@Joannis
Copy link
Member

Joannis commented Jul 6, 2023

We should add an index to the RESP3ParsingError, so that we can track where in the buffer parsing failed. This can be immensely helpful when trying to debug RESP3 values with a more complex structure.

Original Issue

          Could we add an index here? That way we can correlate the error back to a specific location in the received ByteBuffer. Definitely helps debugging should this ever trigger

Originally posted by @Joannis in #71 (comment)

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

No branches or pull requests

1 participant