fixes #13654
This commit is contained in:
parent
d375120c42
commit
955b31a7d9
1 changed files with 1 additions and 1 deletions
|
|
@ -47,5 +47,5 @@ template formatStr*(howExpr, namegetter, idgetter): untyped =
|
|||
i += 1
|
||||
val.add(namegetter)
|
||||
else:
|
||||
raise newException(Exception, "Syntax error in format string at " & $i)
|
||||
raise newException(ValueError, "Syntax error in format string at " & $i)
|
||||
val
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue