daily logging improvements
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
0b33eec1c2
commit
a124122dd4
3 changed files with 11 additions and 17 deletions
|
@ -15,7 +15,7 @@ use ErrorKind::{
|
|||
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 @@ impl Error {
|
|||
_ => (Unknown, StatusCode::INTERNAL_SERVER_ERROR),
|
||||
};
|
||||
|
||||
debug_info!("Returning an error: {status_code}: {message}");
|
||||
RumaResponse(UiaaResponse::MatrixError(RumaError {
|
||||
body: ErrorBody::Standard {
|
||||
kind,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue