Skip to content

Commit

Permalink
Updated thrown exception
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebauman committed Apr 30, 2015
1 parent c599a3d commit 4496b3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Location.php
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,8 @@ private function getLocationFromFallback()
* Errors occurred on trying to get a location from each driver, or no
* fallback drivers exist. Throw no driver available exception
*/
$message = sprintf('No Location drivers are available. Last driver tried was: %s.'
. ' Did you forget to set up your MaxMind GeoLite2-City.mmdb?', get_class($driver));
$message = sprintf('No Location drivers are available.'
. ' Did you forget to set up your MaxMind GeoLite2-City.mmdb?');

throw new NoDriverAvailableException($message);
}
Expand Down

0 comments on commit 4496b3b

Please sign in to comment.