Skip to content

Commit 419d822

Browse files
committed
Merge branch '3.2' into 3.3
* 3.2: Don't access private services from container aware commands (deprecated) Improve CircularReferenceException message
2 parents cc9b416 + 993a79c commit 419d822

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Normalizer/AbstractNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ protected function handleCircularReference($object)
192192
return call_user_func($this->circularReferenceHandler, $object);
193193
}
194194

195-
throw new CircularReferenceException(sprintf('A circular reference has been detected (configured limit: %d).', $this->circularReferenceLimit));
195+
throw new CircularReferenceException(sprintf('A circular reference has been detected when serializing the object of class "%s" (configured limit: %d)', get_class($object), $this->circularReferenceLimit));
196196
}
197197

198198
/**

0 commit comments

Comments
 (0)