Class: Crashbreak::ExceptionNotifier

Inherits:
Object
  • Object
show all
Defined in:
lib/crashbreak/exception_notifier.rb

Direct Known Subclasses

TinyExceptionNotifier

Instance Method Summary collapse

Instance Method Details

#notifyObject



3
4
5
6
7
8
9
10
11
# File 'lib/crashbreak/exception_notifier.rb', line 3

def notify
  RequestStore.store[:server_response] = exceptions_repository.create serialize_exception

  if created_error_is_unique?
    dump_system_and_update_report

    GithubIntegrationService.new(server_response).push_test if Crashbreak.configure.github_integration
  end
end