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

Print full classname (inner class support) and fix enum output #1803

Merged
merged 1 commit into from
Oct 28, 2014
Merged

Conversation

edenman
Copy link

@edenman edenman commented Oct 28, 2014

@benjchristensen

Class.getSimpleName() is empty for inner classes, leading to an error message that looks like this: "OnError while emitting onNext value: .class"

Also, Enum.name() is always safe and not expensive so we can use that when there's a failure emitting an enum value.

@benjchristensen
Copy link
Member

Thanks for the fix.

benjchristensen added a commit that referenced this pull request Oct 28, 2014
Print full classname (inner class support) and fix enum output
@benjchristensen benjchristensen merged commit 7924a3e into ReactiveX:1.x Oct 28, 2014
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