Skip to content

Commit

Permalink
Using Command output as message which actually provides more informat…
Browse files Browse the repository at this point in the history
…ion for debugging than just the path
  • Loading branch information
barbazul committed Jun 11, 2017
1 parent c9f2797 commit 729cedf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ private function validateComposerJsonFile($path)
try {
$app->runComposerCommand(['command' => 'validate'], $path);
} catch (\RuntimeException $exception) {
$this->fail("Failed validation of {$path}");
$this->fail($exception->getMessage());
}
}

Expand Down

0 comments on commit 729cedf

Please sign in to comment.