Skip to content

Remove obsolete EnsureWellFormed500 middleware #3903

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/middleware.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ mod balance_capacity;
mod block_traffic;
mod debug;
mod ember_html;
mod ensure_well_formed_500;
mod head;
mod known_error_to_json;
mod log_connection_pool_status;
Expand All @@ -45,7 +44,6 @@ pub fn build_middleware(app: Arc<App>, endpoints: RouteBuilder) -> MiddlewareBui
let blocked_traffic = app.config.blocked_traffic.clone();

if env != Env::Test {
m.add(ensure_well_formed_500::EnsureWellFormed500);
m.add(log_request::LogRequests::default());
m.around(SentryMiddleware::default());
}
Expand Down
19 changes: 0 additions & 19 deletions src/middleware/ensure_well_formed_500.rs

This file was deleted.