Skip to content

Commit b76d7a4

Browse files
authored
Proper namespace for Exception thrown in ProjectIdTrait (GoogleCloudPlatform#389)
1 parent 47430e6 commit b76d7a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pubsub/api/src/ProjectIdTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ private function getProjectIdFromGcloud()
3030
return array_pop($output);
3131
}
3232

33-
throw new Exception('Could not derive a project ID from gcloud. ' .
33+
throw new \Exception('Could not derive a project ID from gcloud. ' .
3434
'You must supply a project ID using --project');
3535
}
3636
}

0 commit comments

Comments
 (0)