aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2021-05-05 00:39:23 +0300
committerYigit Sever2021-05-05 00:39:23 +0300
commit485df24a2ec454195f8be3834efe6be228b254a5 (patch)
treeaa6186f0b7d3bbe01cf92880cf0c93b2593141d4
parent8079e41ebfa1fb52d9c0c792ee54263de144b17d (diff)
downloadgradecoin-485df24a2ec454195f8be3834efe6be228b254a5.tar.gz
gradecoin-485df24a2ec454195f8be3834efe6be228b254a5.tar.bz2
gradecoin-485df24a2ec454195f8be3834efe6be228b254a5.zip
MORE ERROR MESSAGEs
-rw-r--r--src/handlers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handlers.rs b/src/handlers.rs
index 3e8bafd..839443d 100644
--- a/src/handlers.rs
+++ b/src/handlers.rs
@@ -877,7 +877,7 @@ fn authorize_proposer(jwt_token: String, user_pem: &str) -> Result<TokenData<Cla
877 return Err(String::from("This token has expired")); 877 return Err(String::from("This token has expired"));
878 } 878 }
879 _ => { 879 _ => {
880 warn!("AN UNSPECIFIED ERROR: {:?} key was {}", err, user_pem); 880 warn!("AN UNSPECIFIED ERROR from token: {}\nerr: {:?} key was {}", jwt_token, err, user_pem);
881 return Err(format!("JWT Error: {}", err)); 881 return Err(format!("JWT Error: {}", err));
882 } 882 }
883 }, 883 },