Closed ricou84 closed 2 years ago
Thank you! I'll try to take a look tonight.
@ricou84 By sonic protocol it's not a bug. Multiline input is not supported and returns "invalid_format" error.
But I think it would be good if my client could handle it. I added an error display from Sonic and conversion of multi-line input to single-line.
Describe the bug
I'm trying to push a longstring to sonic. And i recieve a "OSError: Sonic response are wrong. Please write issue to github." Error I'm using sonic-channel library via pysonic. It seems the error come from sonic-channel.
To Reproduce
Expected behavior
The push succeed
Actual behavior
The push fail with "OSError: Sonic response are wrong. Please write issue to github."
Environments
Additional context i create an issue https://github.com/valeriansaliou/sonic/issues/273, https://github.com/AlongWY/pysonic/issues/1