SHARE
TWEET

Untitled

a guest Jan 17th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top