1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

Merge pull request #1061 from BenMorganIO/rack-2-support

Rack 2 Support
This commit is contained in:
Katrina Owen 2015-12-31 13:03:48 -07:00
commit 555d476bf1

View file

@ -1,4 +1,8 @@
require 'rack/showexceptions' begin
require 'rack/show_exceptions'
rescue LoadError
require 'rack/showexceptions'
end
module Sinatra module Sinatra
# Sinatra::ShowExceptions catches all exceptions raised from the app it # Sinatra::ShowExceptions catches all exceptions raised from the app it