Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow non-JSON data #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Allow non-JSON data #16

wants to merge 1 commit into from

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