src/server/rest.rs: improve logs for unauthorized request

This commit is contained in:
Dietmar Maurer committed 2019-02-17 17:18:44 +01:00
1 parent 54d15ab5c5
commit 8225aa2ff6
3 files changed
+14 -6

No files matched your search

+1 -1
View File
@@ -62,7 +62,7 @@ impl HttpError {
impl fmt::Display for HttpError {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "Error {}: {}", self.code, self.message)
write!(f, "{}", self.message)
}
}