You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sinatra is currently setting the value for constant Rack::ShowExceptions::TEMPLATE with the value Sinatra::ShowExceptions::TEMPLATE. The problem is that the new template references a method that only exists in Sinatra::ShowExceptions. When other Rack based apps like Grape are used alongside Sinatra an error is raised when attempting to display the error page.
Sinatra is currently setting the value for constant
Rack::ShowExceptions::TEMPLATE
with the valueSinatra::ShowExceptions::TEMPLATE
. The problem is that the new template references a method that only exists inSinatra::ShowExceptions
. When other Rack based apps like Grape are used alongside Sinatra an error is raised when attempting to display the error page.lib/sinatra/show_exceptions.rb
In commit 57c2ebb @kgrz mentioned an alternate solution would be override the
pretty
method. Maybe that would be the right path forward?See:
ruby-grape/grape/issues/1669
The text was updated successfully, but these errors were encountered: