mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 04:37:00 +00:00
Post-formatting aesthetic and spacing corrections
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
1b70ef5dea
commit
222e89f6fe
17 files changed
+76
-40
No files matched your search
@@ -98,10 +98,10 @@ async fn execute(
|
||||
|
||||
fn handle_result(method: &Method, uri: &Uri, result: Response) -> Result<Response, StatusCode> {
|
||||
let status = result.status();
|
||||
let code = status.as_u16();
|
||||
let reason = status
|
||||
.canonical_reason()
|
||||
.unwrap_or("Unknown Reason");
|
||||
let code = status.as_u16();
|
||||
|
||||
if status.is_server_error() {
|
||||
error!(method = ?method, uri = ?uri, "{code} {reason}");
|
||||
|
||||
Reference in new issue
Block a user