-
Notifications
You must be signed in to change notification settings - Fork 21
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
Bug: Improve error description #147
Comments
I think you need to create issue in https://github.com/memphisdev/memphis.py |
Hey @yanivbh1 , i would love to work on this issue. Can you please tell me the file in which i should make the changes to make things work, because I have looked upon the code base, but i am unable to understand where this error message has been written. |
Adding @shay23b to the rescue |
Hi @Adarsh-jaiss , |
Hey @shay23b, @yanivbh1 , I tried to understand the bug and took help from an AI model and it suggested these changes in the "validate_protobuf" function : In the updated code:
By making these changes, the code will provide a clearer error message when encountering an unsupported message type. Additionally, it will be able to handle protobuf dictionaries as well. Here's the updated code :
Kindly review this! @shay23b |
Hi @Adarsh-jaiss, If you will be working on this issue please let us know and open a PR when you're done. |
Describe the bug
Hey,
I was trying to produce a protobuf dict to a station without schema attached and received the following error:
That error should be something like:
Steps to reproduce
Affected services
Broker, SDKs
Platforms
No response
If UI - Browsers
No response
Environment
No response
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: