Commit 25a935ab authored by Joshua Lambert's avatar Joshua Lambert

Update server.rb

parent 2d2727bd
......@@ -9,6 +9,7 @@ server.mount_proc '/' do |request, response|
sleep 0.125 + SecureRandom.random_number*0.250
end
#Return an error to help demonstrate monitoring capabilities
server.mount_proc '/error' do |request, response|
response.status = 500
response.body = 'Sorry we encountered an error.'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment