diff --git a/Makefile b/Makefile index b8f15f89487375a25a16377be0a98458492e39be..0aea6528b62638cff4e44627928894b6bd887552 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PROJECT = yangson -VERSION = 1.3.13 +VERSION = 1.3.14 .PHONY = tags deps install-deps test tags: diff --git a/yangson/schemanode.py b/yangson/schemanode.py index 28b180855d430758f5d2deb4f60db6d5aa8a7467..b7ed3c07fa8164507671e0c7d26ecb88f52b5db5 100644 --- a/yangson/schemanode.py +++ b/yangson/schemanode.py @@ -731,7 +731,7 @@ class TerminalNode(SchemaNode): """Override the superclass method.""" res = self.type.from_raw(rval) if res is None: - raise RawTypeError(jptr, str(self.type)) + raise RawTypeError(jptr, self.type.name + " value") return res def _node_digest(self) -> Dict[str, Any]: