Skip to content

Commit

Permalink
dbg msg
Browse files Browse the repository at this point in the history
  • Loading branch information
markokr committed Sep 17, 2023
1 parent 97af187 commit 5ef6df3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rarfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -2281,7 +2281,7 @@ def read(self, n=-1):
n -= len(data)
data = b"".join(buf)
if n > 0:
raise BadRarFile("Failed the read enough data: req=%d got=%d" % (orig, len(data)))
raise BadRarFile("Failed the read enough data: req=%d got=%d data=%r" % (orig, len(data), data))

# done?
if not data or self._remain == 0:
Expand Down

0 comments on commit 5ef6df3

Please sign in to comment.