report request errors in desktop
This commit is contained in:
1 parent
7b2bf4acc5
commit
efe08df966
1 file changed
+6
@@ -127,6 +127,12 @@ pub(super) fn desktop_handler(
|
||||
.map_err(From::from);
|
||||
}
|
||||
|
||||
log::error!(
|
||||
"Failed to find {} (as path {})",
|
||||
request.uri().path(),
|
||||
asset.display()
|
||||
);
|
||||
|
||||
Response::builder()
|
||||
.status(StatusCode::NOT_FOUND)
|
||||
.body(Cow::from(String::from("Not Found").into_bytes()))
|
||||
|
||||
Reference in new issue
Block a user