lib/sinbotra/server.rb in sinbotra-0.1.4 vs lib/sinbotra/server.rb in sinbotra-0.1.5

- old
+ new

@@ -40,12 +40,15 @@ payload = request.body.read verify_facebook_signature!(payload) begin msg = JSON.load(payload) Sinbotra::Bot.handle(:facebook, msg) + "OK" rescue Exception => e STDERR.puts e.message STDERR.puts e.backtrace + status 500 + "ERROR" end end end end