Skip to content

Commit

Permalink
missing "YAML" in the exception message.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBadura committed Sep 10, 2015
1 parent 37827a2 commit b95b5e2
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -121,7 +121,7 @@ private function parseFile($path)
try {
$classes = $this->yamlParser->parse(file_get_contents($path));
} catch (ParseException $e) {
throw new \InvalidArgumentException(sprintf('The file "%s" does not contain valid.', $path), 0, $e);
throw new \InvalidArgumentException(sprintf('The file "%s" does not contain valid YAML.', $path), 0, $e);
}

// empty file
Expand Down

0 comments on commit b95b5e2

Please sign in to comment.