Module: ExceptionHub

Extended by:
Client, Configuration
Defined in:
lib/exception_hub.rb,
lib/exception_hub/rack.rb,
lib/exception_hub/issue.rb,
lib/exception_hub/client.rb,
lib/exception_hub/railtie.rb,
lib/exception_hub/version.rb,
lib/exception_hub/notifier.rb,
lib/exception_hub/rake_task.rb,
lib/exception_hub/interceptor.rb,
lib/exception_hub/configuration.rb,
lib/exception_hub/client/authorization.rb,
lib/exception_hub/rails/controller_interceptor.rb,
lib/exception_hub/rails/middleware/exceptions_interceptor.rb

Overview

Author:

Defined Under Namespace

Modules: Client, Configuration, Rails Classes: Interceptor, Issue, Notifier, Rack, Railtie, RakeTask

Constant Summary collapse

VERSION =
"0.0.2"

Constants included from Configuration

Configuration::IGNORED_EXCEPTIONS_DEFAULT

Constants included from Client::Authorization

Client::Authorization::INITIALIZER_TEMPLATE

Instance Attribute Summary

Attributes included from Configuration

#after_create_exception_callbacks, #before_create_exception_callbacks, #github_api_token, #github_user_name, #ignored_exceptions, #logger, #repo_name, #repo_owner, #reporting_environments, #send_all_exceptions

Class Method Summary collapse

Methods included from Configuration

after_create_exception, before_create_exception, configure, define_defaults

Methods included from Client

current_octokit, reload_octokit!

Methods included from Client::Authorization

#generate_initializer, #get_api_token

Class Method Details

.handle_exception(exception, env) ⇒ Object



17
18
19
# File 'lib/exception_hub.rb', line 17

def self.handle_exception(exception, env)
  Interceptor.new(exception, env).intercept!
end