add err argument and log if not null
Merge pull request #1 from ProZachJ/fire_connection_error

Handle connection errors when web-hook is fired