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

show the right error message when metric redefinitions happen, fixes #608 #618

Merged
merged 1 commit into from
Nov 16, 2019

Conversation

ivantopo
Copy link
Contributor

There was a bit of code checking that metrics will not get "redefined" with a different type but there was a cast before it that would always fail. This PR ensures that the right message is shown when throwing a redefinition error.

@ivantopo ivantopo mentioned this pull request Oct 16, 2019
@ivantopo ivantopo merged commit c3a775c into kamon-io:master Nov 16, 2019
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.

1 participant