We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 394b9fc commit 37fd6f3Copy full SHA for 37fd6f3
1 file changed
lib/splitclient-rb/engine/events/events_delivery.rb
@@ -4,18 +4,15 @@ module SplitIoClient
4
module Engine
5
module Events
6
class EventsDelivery
7
-
8
def initialize(config)
9
@config = config
10
end
11
12
def deliver(sdk_event, event_metadata, event_handler)
13
- begin
14
- event_handler.call(event_metadata)
15
- rescue StandardError => e
16
- @config.logger.error("Exception when calling handler for Sdk Event #{sdk_event}")
17
- @config.log_found_exception(__method__.to_s, e)
18
- end
+ event_handler.call(event_metadata)
+ rescue StandardError => e
+ @config.logger.error("Exception when calling handler for Sdk Event #{sdk_event}")
+ @config.log_found_exception(__method__.to_s, e)
19
20
21
0 commit comments