class Crashbreak::TinyExceptionNotifier

Public Instance Methods

notify(exception = RequestStore.store[:exception]) click to toggle source
# File lib/crashbreak/tiny_exception_notifier.rb, line 3
def notify(exception = RequestStore.store[:exception])
  RequestStore.store[:exception] = exception
  exceptions_repository.create serialize_exception
end

Private Instance Methods

dumpers() click to toggle source
# File lib/crashbreak/tiny_exception_notifier.rb, line 14
def dumpers
  []
end
serializers() click to toggle source
# File lib/crashbreak/tiny_exception_notifier.rb, line 10
def serializers
  [BasicInformationSerializer.new]
end