From 5e285d702bfc9ac2d12650c841c0cb764fd70129 Mon Sep 17 00:00:00 2001 From: DominicWrege Date: Sat, 9 Jan 2021 01:26:38 +0100 Subject: [PATCH] pretty printing internal server error --- actix-http/src/response.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actix-http/src/response.rs b/actix-http/src/response.rs index df2f5be50..dd27ae3e6 100644 --- a/actix-http/src/response.rs +++ b/actix-http/src/response.rs @@ -54,7 +54,7 @@ impl Response { pub fn from_error(error: Error) -> Response { let mut resp = error.as_response_error().error_response(); if resp.head.status == StatusCode::INTERNAL_SERVER_ERROR { - error!("Internal Server Error: {:?}", error); + error!("Internal Server Error: {:#?}", error); } resp.error = Some(error); resp