Skip to content

Commit d59c7e5

Browse files
committed
feat: disable sinatra dump_errors
Otherwise we get duplicated logging for UI errors.
1 parent 7408be0 commit d59c7e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/pact_broker/ui/controllers/base_controller.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ class Base < Padrino::Application
99

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

1314
end
1415
end
1516
end
16-
end
17+
end

0 commit comments

Comments
 (0)