Skip to content

Commit

Permalink
feat: disable sinatra dump_errors
Browse files Browse the repository at this point in the history
Otherwise we get duplicated logging for UI errors.
  • Loading branch information
bethesque committed Mar 9, 2018
1 parent 7408be0 commit d59c7e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/pact_broker/ui/controllers/base_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ class Base < Padrino::Application

set :root, File.join(File.dirname(__FILE__), '..')
set :show_exceptions, ENV['RACK_ENV'] != 'production'
set :dump_errors, false # The padrino logger logs these for us. If this is enabled we get duplicate logging.

end
end
end
end
end

0 comments on commit d59c7e5

Please sign in to comment.