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

better error message when JSON response from remote module is not serializable #58

Open
alfredodeza opened this issue Jan 15, 2021 · 0 comments

Comments

@alfredodeza
Copy link
Owner

remoto relies on serializable responses from remote functions. If the return value is returning non-serializable values, then the error will be a traceback from the JSON module in the remote. This should try/except and attempt to craft a nicer error message if that is the case. Potentially with a str() representation of the object.

This is particularly problematic when trying to serialize bytes.

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