Skip to content

Commit 98aa75d

Browse files
committed
chore: add verbosity
1 parent a6ad2f7 commit 98aa75d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

grpc_services/v3/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@ def get_keys_for_decryption(
3636
Fetch token and all necessary keys for decryption.
3737
Returns (Token, TokenHash, ss_kid, es_kid, es_kid_pk, ec_kid_pk).
3838
"""
39+
print(">>>>", len(token_id_bytes), token_id_bytes, key_id)
3940
token = session.scalar(select(Token).where(Token.token_id == token_id_bytes))
4041
if not token:
41-
raise ValueError(f"token not found t_id_bytes={token_id_bytes}")
42+
raise ValueError("token not found")
4243

4344
token_hash_obj = session.scalar(
4445
select(TokenHash).where(TokenHash.token_id == token.id)

0 commit comments

Comments
 (0)