From 918ea8c7784b5c21741fda5ea328e35f43c1f456 Mon Sep 17 00:00:00 2001 From: _ <> Date: Tue, 27 Jul 2021 03:17:26 +0000 Subject: [PATCH] :loud_sound: log error on URL routing failures --- crates/ptth_relay/src/routing.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/ptth_relay/src/routing.rs b/crates/ptth_relay/src/routing.rs index 94c8572..89dda71 100644 --- a/crates/ptth_relay/src/routing.rs +++ b/crates/ptth_relay/src/routing.rs @@ -125,6 +125,7 @@ pub fn route_url <'a> (method: &Method, path: &'a str) -> Result , Er }) } else { + tracing::error! ("URL routing failed for `{}`", path); Err (Error::NotFound) } }