I added support for a custom error handler (see latest commit). This way you can handle these errors differently for different environments in your app:

``` ruby
StructuredEventLogger.new(..)
StructuredEventLogger.error_handler = lambda { |exception| ... }
```

In production we probably want to write to `Rails.logger.error` instead of actually failing.