Sha256: 519d37d034c148b393e34fb85b433b473b9985b5e5da213e51e3ef431c1cea30
Contents?: true
Size: 356 Bytes
Versions: 12
Compression:
Stored size: 356 Bytes
Contents
class RailsExceptionHandler def self.catch(&block) begin block.call rescue Exception => exception if(configuration.activate?) exception_handler = Handler.new({'REQUEST_METHOD' => "GET", "rack.input" => ""}, exception) exception_handler.handle_exception else raise exception end end end end
Version data entries
12 entries across 12 versions & 1 rubygems