Skip to content

Commit

Permalink
udpate(LoadSandbox) add debug message
Browse files Browse the repository at this point in the history
Co-authored-by: Andron Ocean <[email protected]>
  • Loading branch information
lucatume and andronocean authored Oct 16, 2024
1 parent 3c21adc commit 7b8d0b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/WordPress/LoadSandbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ class_exists(InstallationException::class);

if ($bodyContent === 'COMMAND DID NOT FINISH PROPERLY.') {
// We got here from \Codeception\Subscriber\ErrorHandler::shutdownHandler().
// We'll try to provide some clues to the user by adding some debug output.
// We'll try to provide some clues to the user in the exception message.
codecept_debug('Codeception error: ' . $bodyContent . ' Check logs for details.');
throw InstallationException::becauseCodeceptionCommandDidNotFinish();
}

Expand Down

0 comments on commit 7b8d0b9

Please sign in to comment.