daily logging improvements

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk authored and June committed 2024-04-26 02:03:40 -04:00
1 parent 0b33eec1c2
commit a124122dd4
3 files changed
+11 -17

No files matched your search

+1 -2
View File
@@ -15,7 +15,7 @@
TooLarge, Unauthorized, Unknown, UnknownToken, Unrecognized, UserDeactivated, WrongRoomKeysVersion,
};
use crate::{debug_info, RumaResponse};
use crate::RumaResponse;
pub(crate) type Result<T, E = Error> = std::result::Result<T, E>;
@@ -139,7 +139,6 @@ pub(crate) fn to_response(&self) -> RumaResponse<UiaaResponse> {
_ => (Unknown, StatusCode::INTERNAL_SERVER_ERROR),
};
debug_info!("Returning an error: {status_code}: {message}");
RumaResponse(UiaaResponse::MatrixError(RumaError {
body: ErrorBody::Standard {
kind,