We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 477108a commit 4876ca0Copy full SHA for 4876ca0
1 file changed
Classes/NodeRendering/Render/RenderExceptionExtractor.php
@@ -47,7 +47,7 @@ public static function extractRenderingException($content)
47
preg_match(self::HTML_MESSAGE_HANDLER_PATTERN, $content, $matches) ||
48
preg_match(self::XML_COMMENT_HANDLER_PATTERN, $content, $matches)
49
) {
50
- return new ExtractedExceptionDto($matches['message'], $matches['stackTrace'], $matches['referenceCode']);
+ return new ExtractedExceptionDto($matches['message'], $matches['stackTrace'], $matches['referenceCode'] ?? '');
51
}
52
return null;
53
0 commit comments