ncarlier / webhookd

A very simple webhook server launching shell scripts.
MIT License
891 stars 80 forks source link

err="bufio.Scanner: token too long #98

Closed khfyf closed 1 month ago

khfyf commented 3 months ago
webhookd

thank you... for your hard work... to make this tool... it really helps me... in all my work

but.. I found a problem.. where when I.. tried to send data.. which was quite long.. it would get stuck.. and wouldn't issue a response.. it turned out that when I checked.. it got an error.. like the photo which I sent idbufio.Scanner: token too long

can you help me... to exceed this limit

ncarlier commented 3 months ago

Hello, the problem seems to be more related to the output of the script than to the input. It seems that you're printing very long text on a single line. Can you try splitting the output within your script?

simoniz0r commented 3 months ago

I've ran into this problem a few times also. Splitting the output isn't always feasible to do.

ncarlier commented 1 month ago

Should be fixed.