Skip to content

Commit

Permalink
Upstream simdjson changed capitalization on empty buffer exception.
Browse files Browse the repository at this point in the history
  • Loading branch information
TkTech committed Sep 3, 2023
1 parent 6d283fe commit 10e2d7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simdjson/csimdjson.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ cdef class Parser:
# a stride in the next step will cause a (potentially
# confusing) IndexError. This isn't a very good error message,
# but it's identical to the one simdjson would have raised.
raise ValueError('Empty: no JSON found')
raise ValueError('EMPTY: no JSON found')

return element_to_primitive(
self,
Expand Down

0 comments on commit 10e2d7d

Please sign in to comment.