We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7830cb6 + 98c8808 commit 078508cCopy full SHA for 078508c
src/Common/Error/Builder.php
@@ -97,7 +97,7 @@ public function str(MessageInterface $message): string
97
$msg .= "\r\n{$name}: " . implode(', ', $values);
98
}
99
100
- if ($message->getBody()->getSize() < ini_get('memory_limit')) {
+ if (ini_get('memory_limit') < 0 || $message->getBody()->getSize() < ini_get('memory_limit')) {
101
$msg .= "\r\n\r\n" . $message->getBody();
102
103
0 commit comments