Skip to content

Commit

Permalink
Add another error message case
Browse files Browse the repository at this point in the history
  • Loading branch information
imalsogreg committed Aug 8, 2023
1 parent 6a641e5 commit a5c1dc7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Pact/Types/Util.hs
Original file line number Diff line number Diff line change
Expand Up @@ -348,4 +348,7 @@ base64DowngradeErrorMessage
base64DowngradeErrorMessage
(L.stripPrefix "invalid padding at offset: " -> Just suffix) =
"invalid padding near offset " <> suffix
base64DowngradeErrorMessage
"Base64-encoded bytestring has invalid size" =
"invalid base64 encoding near offset 0"
base64DowngradeErrorMessage errMsg = errMsg

0 comments on commit a5c1dc7

Please sign in to comment.