Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
specify filepath configuration when file is not found
  • Loading branch information
gpenverne committed May 3, 2019
commit bdcdb04488ac3cfc72cd6ee5a0b3e3b9c2b0d2a9
2 changes: 1 addition & 1 deletion src/Google/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ public function setAuthConfig($config)
{
if (is_string($config)) {
if (!file_exists($config)) {
throw new InvalidArgumentException('file does not exist');
throw new InvalidArgumentException(sprintf('file "%s" does not exist', $config));
}

$json = file_get_contents($config);
Expand Down