forked from Deuxfleurs/garage
parent
df30f3df4b
commit
e85a200189
1 changed files with 0 additions and 1 deletions
|
@ -249,7 +249,6 @@ impl WebServer {
|
|||
);
|
||||
|
||||
*error_doc.status_mut() = error.http_status_code();
|
||||
error.add_headers(error_doc.headers_mut());
|
||||
|
||||
// Preserve error message in a special header
|
||||
for error_line in error.to_string().split('\n') {
|
||||
|
|
Loading…
Reference in a new issue