Skip to content

Commit

Permalink
Merge branch '3.4' into 4.4
Browse files Browse the repository at this point in the history
* 3.4:
  Tweak the code to avoid fabbot false positives
  • Loading branch information
fabpot committed Apr 12, 2020
2 parents 63238a5 + 1346a5b commit 040f10f
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: %s.', $fileName, json_last_error_msg()));
throw new RuntimeException(sprintf('The resource bundle "%s" contains invalid JSON: '.json_last_error_msg(), $fileName));
}

return $data;
Expand Down

0 comments on commit 040f10f

Please sign in to comment.