lib/jets/poly_fun.rb in jets-1.0.17 vs lib/jets/poly_fun.rb in jets-1.0.18
- old
+ new
@@ -35,9 +35,10 @@
def run_ruby_code(event, context)
@app_class.process(event, context, @app_meth)
rescue Exception => e
Jets.report_exception(e)
+ raise(e)
end
def raise_error(resp)
backtrace = resp["stackTrace"] + caller
backtrace = backtrace.map { |l| l.sub(/^\s+/,'') }