Sha256: d9364bad1cf0b59837f4cf3da9143857e4f510063bf00b1325c8d9d6deae2f0e
Contents?: true
Size: 596 Bytes
Versions: 17
Compression:
Stored size: 596 Bytes
Contents
module Rollbar module Delay class Thread def self.call(payload) new.call(payload) end def call(payload) ::Thread.new do begin Rollbar.process_from_async_handler(payload) rescue # Here we swallow the exception: # 1. The original report wasn't sent. # 2. An internal error was sent and logged # # If users want to handle this in some way they # can provide a more custom Thread based implementation end end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems