Guest User

Untitled

a guest
Jan 17th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. require 'rubygems'
  2. require 'sinatra'
  3.  
  4. error do
  5. puts "----> Failed"
  6. $stdout.print "----> Failed"
  7. end
  8.  
  9. get "/*" do
  10. raise "Error!!"
  11. end
  12.  
  13. ruby my_app.rb -e production
  14.  
  15. set :show_exceptions, false
Add Comment
Please, Sign In to add comment