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

Prevent max recursion depth exceeded error #80

Merged
merged 1 commit into from Sep 25, 2018

Conversation

Projects
None yet
2 participants
@Psynbiotik
Contributor

Psynbiotik commented Jul 24, 2018

If we fail to return a serializable type fallback to standard default method to raise exception, rather then recursing forever causing max recursion depth exceeded error.

nathanthomas
If we fail to return a serializble type fallback to standard default …
…method to raise exception, rather then recursing forever causing max recursion depth exceeded error.
@Psynbiotik

This comment has been minimized.

Contributor

Psynbiotik commented Jul 24, 2018

FYI I ran into this error when an Alert had a description that was type bytes, it had been encoded into UTF-8, i.e. description.encode('UTF-8')

@nadouani nadouani added this to the 1.5.0 milestone Sep 24, 2018

@nadouani nadouani merged commit da76a6b into TheHive-Project:master Sep 25, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment