Skip to content

Commit

Permalink
Add more detail to error message
Browse files Browse the repository at this point in the history
  • Loading branch information
umutphp committed Jun 13, 2021
1 parent 5253525 commit e247a93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ private function checkWordPress(Settings $settings, Output $output)

if (!file_exists($version_file)) {
$output->writeNewLine();
$output->writeLine("Invalid installation folder is given.");
$output->writeLine("Invalid installation folder ($version_file) is given.");
$output->writeNewLine();
throw new \Exception("Invalid installation folder is given.");
throw new \Exception("Invalid installation folder ($version_file) is given.");
}

$wp_version = $this->getWpVersion($version_file);
Expand Down

0 comments on commit e247a93

Please sign in to comment.