Update debug messing to make it clear the source of the message.
This commit is contained in:
parent
20de51281e
commit
98f6b8d147
@ -83,7 +83,7 @@ proc initJWS*(b64: string): JWS =
|
|||||||
raise newException(ValueError,
|
raise newException(ValueError,
|
||||||
"invalid JWS, expected three parts but only found " & $parts.len)
|
"invalid JWS, expected three parts but only found " & $parts.len)
|
||||||
|
|
||||||
debug "Base64url-encoded payload is:\n\t" & parts[1]
|
debug "jwt_full/jws/initJWS: Base64url-encoded payload is:\n\t" & parts[1]
|
||||||
|
|
||||||
result = JWS(
|
result = JWS(
|
||||||
payloadB64: parts[1],
|
payloadB64: parts[1],
|
||||||
|
Loading…
Reference in New Issue
Block a user