Skip to content

Commit

Permalink
Various cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed May 30, 2020
1 parent ee97c71 commit 41ff65c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Data/Bundle/Reader/JsonBundleReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function read($path, $locale)
$data = json_decode(file_get_contents($fileName), true);

if (null === $data) {
throw new RuntimeException(sprintf('The resource bundle "%s" contains invalid JSON: '.json_last_error_msg(), $fileName));
throw new RuntimeException(sprintf('The resource bundle "%s" contains invalid JSON: ', $fileName).json_last_error_msg());
}

return $data;
Expand Down

0 comments on commit 41ff65c

Please sign in to comment.