We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3ce0e84 + e63932b commit 9938cc0Copy full SHA for 9938cc0
1 file changed
src/Entity/EntityIdValue.php
@@ -67,7 +67,7 @@ public function unserialize( $serialized ) {
67
try {
68
$entityId = LegacyIdInterpreter::newIdFromTypeAndNumber( $entityType, $numericId );
69
} catch ( InvalidArgumentException $ex ) {
70
- throw new IllegalValueException( 'Invalid EntityIdValue serialization.' );
+ throw new IllegalValueException( 'Invalid EntityIdValue serialization.', 0, $ex );
71
}
72
73
$this->__construct( $entityId );
0 commit comments