Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Module/WPLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -1096,7 +1096,7 @@ private function includeCorePHPUniteSuiteBootstrapFile(): void

// The inclusion of the test bootstrap file, or a WordPress file included by it, called `exit` or `die`.
// Jump in on the flow to provide a meaningful message to the user.
throw new ModuleException(__CLASS__, 'WordPress bootstrap failed.' . PHP_EOL . $buffer);
throw new ModuleException(__CLASS__, 'WordPress bootstrap failed.' . PHP_EOL . ($buffer ?: $this->bootstrapOutput));
}

$buffer = trim($buffer);
Expand Down
Loading