diff --git a/config.ru b/config.ru index 7d7dd2f..359daad 100644 --- a/config.ru +++ b/config.ru @@ -1,8 +1,8 @@ require 'rack/camel_snake' +require 'rack/server_errors' require_relative 'app/app' -require_relative 'app/middleware/errors_handler' -use ErrorsHandler +use Rack::ServerErrors use Rack::CamelSnake run Mosscow