diff --git a/src/error.rs b/src/error.rs index 115ef0e3837a53cc23a4598e5e31f7507855971a..8a6c6fb5b748fbe6495ee088eba4cd3a0af85bd8 100644 --- a/src/error.rs +++ b/src/error.rs @@ -163,6 +163,7 @@ macro_rules! err_json { #[macro_export] macro_rules! err_handler { ($expr:expr) => {{ + error!("Unauthorized Error: {:#?}", $expr); return rocket::Outcome::Failure((rocket::http::Status::Unauthorized, $expr)); }}; }