Skip to content

Allow non-JSON data#16

Open
stixes wants to merge 1 commit intoschickling:masterfrom
stixes:master
Open

Allow non-JSON data#16
stixes wants to merge 1 commit intoschickling:masterfrom
stixes:master

Conversation

@stixes
Copy link

@stixes stixes commented Feb 20, 2018

If the hook called includes data, which is not JSON format, this will cause an exception. In my case, this is a problem if using hooks from Slack, and I assume others.
This patch silently ignores the exception, if the JSON fails to parse.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant