Class: PartyFoul::Processors::Sync

Inherits:
Base
  • Object
show all
Defined in:
lib/party_foul/processors/sync.rb

Class Method Summary collapse

Class Method Details

.handle(exception, env) ⇒ Object

Passes the exception and rack env data to the ExceptionHandler and runs everything synchronously.

Parameters:

  • (Exception, Hash)


8
9
10
# File 'lib/party_foul/processors/sync.rb', line 8

def self.handle(exception, env)
  PartyFoul::ExceptionHandler.new(exception, env).run
end