lib/rack/twilio-validator.rb in rack-twilio-validator-0.0.1 vs lib/rack/twilio-validator.rb in rack-twilio-validator-0.0.2

- old
+ new

@@ -18,10 +18,10 @@ if unprotected_path? || request_validator.validate(@request.url, @request.params, env['HTTP_X_TWILIO_SIGNATURE']) @app.call(env) else response = ::Twilio::TwiML::Response.new do |r| - r.Say("Unable to authenticate request. Please try again.") + r.Say("Middleware unable to authenticate request signature") end [401, { "Content-Type" => "application/xml" }, [response.text]] end end