Update debug messing to make it clear the source of the message.

This commit is contained in:
Jonathan Bernard 2021-12-31 22:08:34 -06:00
parent 20de51281e
commit 98f6b8d147

View File

@ -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],