Sha256: 6dad6c65d524fddbe8af45320c7074e3578c21f1a13ae44a675964a63ae9973c

Contents?: true

Size: 226 Bytes

Versions: 3

Compression:

Stored size: 226 Bytes

Contents

ApplicationController.class_eval do
  alias_method :generic_exception_original, :generic_exception

  def generic_exception(exception)
    Raven.capture_exception(exception)
    generic_exception_original(exception)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
foreman_sentry-0.1.3 lib/foreman_ext/application_controller.rb
foreman_sentry-0.1.2 lib/foreman_ext/application_controller.rb
foreman_sentry-0.1.0 lib/foreman_ext/application_controller.rb