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

Prevent max recursion depth exceeded error #80

Merged
merged 1 commit into from
Sep 25, 2018

Conversation

Psynbiotik
Copy link

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.

…method to raise exception, rather then recursing forever causing max recursion depth exceeded error.
@Psynbiotik
Copy link
Author

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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants