README.md in sidekiq-logstash-2.0.3 vs README.md in sidekiq-logstash-3.0.0
- old
+ new
@@ -76,9 +76,13 @@
# custom_option is a Proc that will be called before logging the payload, allowing you to add fields to it
config.custom_options = lambda do |payload|
payload['my_custom_field'] = 'my_custom_value'
end
+
+ # by default, sidekiq-logstash removes the default error handler
+ # to keep it, simply set this to true
+ config.keep_default_error_handler = true
end
```
## Development