Skip to content

Commit

Permalink
fixes #13654
Browse files Browse the repository at this point in the history
  • Loading branch information
Araq committed Mar 16, 2020
1 parent d375120 commit 955b31a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/impure/nre/private/util.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 955b31a

Please sign in to comment.