Method: Jets::PolyFun#run_ruby_code

Defined in:
lib/jets/poly_fun.rb

#run_ruby_code(event, context) ⇒ Object



27
28
29
30
31
32
# File 'lib/jets/poly_fun.rb', line 27

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