🔊 log error on URL routing failures

main
_ 2021-07-27 03:17:26 +00:00
parent a7aef2d069
commit 918ea8c778
1 changed files with 1 additions and 0 deletions

View File

@ -125,6 +125,7 @@ pub fn route_url <'a> (method: &Method, path: &'a str) -> Result <Route <'a>, Er
})
}
else {
tracing::error! ("URL routing failed for `{}`", path);
Err (Error::NotFound)
}
}