Method: Jets::PolyFun#run_ruby_code

Defined in:
lib/jets/poly_fun.rb

#run_ruby_code(event, context) ⇒ Object



36
37
38
39
40
41
# File 'lib/jets/poly_fun.rb', line 36

def run_ruby_code(event, context)
  @app_class.process(event, context, @app_meth)
rescue Exception => e
  Jets.on_exception(e)
  raise(e)
end