Put less semi-duplicate data in error log.
This commit is contained in:
parent
31c5823464
commit
80df975074
@ -7,6 +7,7 @@ The format is based on
|
||||
## Unreleased
|
||||
|
||||
* Removed unnessesary id columns from relation tables.
|
||||
* Put less semi-duplicate data in error log.
|
||||
|
||||
|
||||
## Release 0.12.0 (2023-02-26)
|
||||
|
@ -78,7 +78,7 @@ impl GlobalContext {
|
||||
.map_err(|e| format!("Bad jwt token: {e:?}"))?;
|
||||
|
||||
if !verify_token(&token, self.jwt_secret.as_ref())? {
|
||||
return Err(format!("Invalid token {token:?}"));
|
||||
return Err(format!("Invalid token {:?}", token.payload));
|
||||
}
|
||||
let claims = token.payload;
|
||||
debug!("Verified token for: {:?}", claims);
|
||||
|
Loading…
Reference in New Issue
Block a user