Skip to content

Conversation

@ccoVeille
Copy link
Contributor

There is no Stringer on the channel struct, so using %s causes an error.
Using %v to print the default representation instead.

There is no Stringer on the channel struct, so using %s causes an error. Using %v to print the default representation instead.
Copy link
Member

@ndyakov ndyakov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that seems correct, but i am wondering what information this will give us? Should we think about some identifier for those channels in the future?

@ndyakov ndyakov merged commit dc053a4 into redis:master Dec 2, 2025
32 of 33 checks passed
@ccoVeille ccoVeille deleted the bad-sprintf branch December 2, 2025 16:51
@ccoVeille
Copy link
Contributor Author

that seems correct, but i am wondering what information this will give us? Should we think about some identifier for those channels in the future?

I agree. The current error message was simply broken.

I provided something that would work. But it doesn't mean it would be meaningful.

I feel like it has to be updated to provide a clear error message, but this was out of the scope of my changes. And it would require some discussion

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

2 participants