Skip to content

Commit

Permalink
Merge pull request #4806 from markusguenther/task/improve-exception-m…
Browse files Browse the repository at this point in the history
…essage
  • Loading branch information
ahaeslich authored Dec 20, 2023
2 parents 3bb5fc2 + e7b74c6 commit 1f54e1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Neos.ContentRepository.Core/Classes/NodeType/NodeType.php
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ public function getPropertyType(string $propertyName): string

if (!$this->hasProperty($propertyName)) {
throw new \InvalidArgumentException(
sprintf('NodeType schema has no property "%s" configured. Cannot read its type.', $propertyName),
sprintf('NodeType schema has no property "%s" configured for the NodeType "%s". Cannot read its type.', $propertyName, $this->name->value),
1695062252040
);
}
Expand Down

0 comments on commit 1f54e1b

Please sign in to comment.