File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -226,8 +226,8 @@ public function resolveReference($referencePath)
226
226
*/
227
227
public function preProcessReferences ($ data , Context $ options , $ nestingLevel = 0 )
228
228
{
229
- if ($ nestingLevel > $ this ->max_deep_nesting ) { //Updated due to specific recursion depth from Amazon product JSON Schemas - yep 200 was not enough
230
- throw new Exception ('Too deep nesting level. Suggest submitting maxNestLevel via options ' , Exception::DEEP_NESTING );
229
+ if ($ nestingLevel > $ this ->maxNestLevel ) { //Updated due to specific recursion depth from Amazon product JSON Schemas - yep 200 was not enough
230
+ throw new Exception ('Too deep nesting level. Nesting / Recursion level ( ' . $ nestingLevel . ' ) exceeds ' . $ this -> maxNestLevel , Exception::DEEP_NESTING );
231
231
}
232
232
if (is_array ($ data )) {
233
233
foreach ($ data as $ key => $ item ) {
You can’t perform that action at this time.
0 commit comments