We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e01407 commit e961afeCopy full SHA for e961afe
lib/pact_broker/ui/controllers/base_controller.rb
@@ -8,7 +8,7 @@ module Controllers
8
class Base < Padrino::Application
9
10
set :root, File.join(File.dirname(__FILE__), '..')
11
- set :show_exceptions, true
+ set :show_exceptions, ENV['RACK_ENV'] != 'production'
12
13
end
14
0 commit comments