Raise an exception when submitting an event fails.
Merge pull request #10 from Shopify/exception_raised_on_endpoint_failure

Raise an exception when submitting an event fails.