Fix message text in NotImplementedError (#325)
This commit is contained in:
parent
d260f071e0
commit
d991040ff6
@ -524,7 +524,7 @@ class FieldCompiler(MessageCompiler):
|
|||||||
source_type=self.proto_obj.type_name,
|
source_type=self.proto_obj.type_name,
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
raise NotImplementedError(f"Unknown type {field.type}")
|
raise NotImplementedError(f"Unknown type {self.proto_obj.type}")
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def annotation(self) -> str:
|
def annotation(self) -> str:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user