We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbd31e7 commit b8dfd81Copy full SHA for b8dfd81
pulsar/schema/definition.py
@@ -26,7 +26,7 @@
26
def _check_record_or_field(x):
27
if (type(x) is type and not issubclass(x, Record)) \
28
and not isinstance(x, Field):
29
- raise Exception('Argument ' + x + ' is not a Record or a Field')
+ raise Exception('Argument ' + x.__name__ + ' is not a Record or a Field')
30
31
32
class RecordMeta(type):
0 commit comments