Skip to content

Don't error out when logging non-JSON serialisable values #516

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mathrick
Copy link

The serialiser now falls back on repr() to ensure some usable value can always be logged, even if no other serialiser exists for the value.

Fixes #515

The serialiser now falls back on repr() to ensure some usable value
can always be logged, even if no other serialiser exists for the
value.

Fixes itamarst#515
@mathrick
Copy link
Author

Is there anything else needed to move this forward?

@mathrick
Copy link
Author

@itamarst: ping?

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.

Logging fails when non JSON-serialisable arguments or return values are present
1 participant