Closed leftieFriele closed 5 months ago
thanks! just a quick suggestion, happy to merge after that 🙂
👍 I didn't squash it on the branch, so squash and merge. thanks for the quick reply ❤️
When is this scheduled to be released ?
I'm currently away at a festival, but I can make a release on Sunday (unless @zbjornson gets to it before me)
had some time this morning, so published in https://github.com/siimon/prom-client/releases/tag/v15.1.3
This fix ensures consumers of the library get more insights into which labels are causing an error to occur.
With the new error message it is easier for a developer to debug what happened in the case where you accidentally pass in a bad argument.
If
getLabels
gets called like this:it used to throw...
now it throws this: