Sha256: c8e7a22c90431f88cad36d575f07b05daeed23434f2dd7a039ffaba8b71f163c

Contents?: true

Size: 281 Bytes

Versions: 1

Compression:

Stored size: 281 Bytes

Contents

class SimulateController < ApplicationController
  include ExceptionLogger::ExceptionLoggable
  rescue_from Exception, :with => :log_exception_handler

  self.exception_data = Proc.new { "Extra exception infomation here!" }

  def failure
    raise "Simulate Exception!"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
exception_logger-0.2.0 test/dummy/app/controllers/simulate_controller.rb