diff options
author | metamuffin <metamuffin@disroot.org> | 2023-10-19 21:07:00 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-10-19 21:07:00 +0200 |
commit | 4a7bd84594fb8d159a0a2af02818f283eab3e716 (patch) | |
tree | e1262bafe1c3f74322725db6d0ebf671ce617da4 | |
parent | 7b0eed492d0f38f091d08e092c86f96315002097 (diff) | |
download | gnix-4a7bd84594fb8d159a0a2af02818f283eab3e716.tar gnix-4a7bd84594fb8d159a0a2af02818f283eab3e716.tar.bz2 gnix-4a7bd84594fb8d159a0a2af02818f283eab3e716.tar.zst |
debug log error for more detail
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index a1b04d4..99374eb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -69,7 +69,7 @@ async fn main() -> anyhow::Result<()> { let state = state.clone(); tokio::spawn(async move { if let Err(e) = serve_http(state).await { - error!("{e}"); + error!("{e:?}"); exit(1) } }); @@ -78,7 +78,7 @@ async fn main() -> anyhow::Result<()> { let state = state.clone(); tokio::spawn(async move { if let Err(e) = serve_https(state).await { - error!("{e}"); + error!("{e:?}"); exit(1) } }); |