Skip to content

Commit ff13f87

Browse files
j2gg0stvoinarovskyi
authored andcommitted
Fix error var name in _unpack (#1403)
Change-Id: I6527da4b70ebec9e08fa50aca9eba717b8361f19
1 parent 793dc4d commit ff13f87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kafka/protocol/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def _unpack(f, data):
2121
except error as e:
2222
raise ValueError("Error encountered when attempting to convert value: "
2323
"{!r} to struct format: '{}', hit error: {}"
24-
.format(value, f, e))
24+
.format(data, f, e))
2525

2626

2727
class Int8(AbstractType):

0 commit comments

Comments
 (0)