diff options
Diffstat (limited to 'src/handlers.rs')
-rw-r--r-- | src/handlers.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handlers.rs b/src/handlers.rs index f1fd1e0..f6e1f9f 100644 --- a/src/handlers.rs +++ b/src/handlers.rs | |||
@@ -723,7 +723,7 @@ fn authorize_proposer(jwt_token: String, user_pem: &str) -> Result<TokenData<Cla | |||
723 | } | 723 | } |
724 | _ => { | 724 | _ => { |
725 | warn!("AN UNSPECIFIED ERROR: {:?}", err); | 725 | warn!("AN UNSPECIFIED ERROR: {:?}", err); |
726 | return Err(String::from("Unspecified error")); | 726 | return Err(format!("JWT Error: {}", err)); |
727 | } | 727 | } |
728 | }, | 728 | }, |
729 | }; | 729 | }; |