Skip to content

Commit e0bf779

Browse files
authored
Merge pull request #1297 from IntersectMBO/newhoggy/fix-error-message-for-readStringOfMaxLength
fix(era-independent): correct max length in readStringOfMaxLength error message
2 parents c3a211e + b5b89cc commit e0bf779

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

cardano-cli/src/Cardano/CLI/Parser.hs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ readStringOfMaxLength maxLen = do
7171
else
7272
fail $
7373
mconcat
74-
[ "The provided string must have at most 128 characters, but it has "
74+
[ "The provided string must have at most "
75+
, show maxLen
76+
, " characters, but it has "
7577
, show strLen
7678
, " characters."
7779
]

0 commit comments

Comments
 (0)