You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When providing output from color to send to slack, slacktee gives a json error. I got this error when using a public tool called nuclei which gave a one line output of color, and when piping it to slacktee it gave this error:
slacktee.sh: {"ok":false,"error":"invalid_json"}
I guess this happens because of the color, since when removing it slacktee had no problems. Maybe add a condition to remove colorful output so it doesn't give this error? not sure
The text was updated successfully, but these errors were encountered:
Thank you for the report, @marcelo321 !
If you don’t mind, could you share all of of the command line options you are using for sending the message?
Also, if it’s possible, please share the sample of the input as well.
Thank you so much for the detail!
I see, it seems to be caused by escape sequences. Handling this case gracefully might not be easy but let me think about it.
When providing output from color to send to slack, slacktee gives a json error. I got this error when using a public tool called nuclei which gave a one line output of color, and when piping it to slacktee it gave this error:
I guess this happens because of the color, since when removing it slacktee had no problems. Maybe add a condition to remove colorful output so it doesn't give this error? not sure
The text was updated successfully, but these errors were encountered: