docker-hook
docker-hook copied to clipboard
Allow non-JSON data
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.