Closed Bluscream closed 1 year ago
We simply need some more information as this may not be an issue or it may be something elsewhere that needs fixing, simply returning on None may have bigger implications. What was happening when this error happened? What is your codebase?
What was the data being received that was failed to be parsed?
It didn't show any extra data except the one shown in the stacktrace
Is this simply a case of you not handing message.echo?
message.echo is handled as per your example
We simply need some more information as this may not be an issue or it may be something elsewhere that needs fixing,
I can only give as much info as you're asking and asmuch as i see in the console
What was happening when this error happened?
regular usage, nothing special
What is your codebase?
sorry can't share that because of licensing issues
FYI - I got this error also and what fixed it was to remove newline chars
@deseipel please be more specific as part of the Twitch IRC spec requires newlines
the bot i have posts answers from GPT3 OR ChatGPT to Twitch. ask openai to write a poem or haiku and you'll get the bug.
@deseipel you still haven't answered my question from Jan. I'm also not going to setup a connection to a 3rd party service which has no relevance to the libs internals.
The issue is the user is trying to send a new line in their message content. IRC does not accept or use new lines in message content being sent, only to terminate the websocket send.
Interesting, thank you for finding root cause. this came up during my own testing when I was copy/pasting test messages. makes sense now. I appreciate it.
Pull request summary
Checklist