From 4496b3bc17b84b224d42e05e22a90f5bd1289f4b Mon Sep 17 00:00:00 2001 From: Steve Bauman Date: Thu, 30 Apr 2015 10:06:53 -0400 Subject: [PATCH] Updated thrown exception --- src/Location.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Location.php b/src/Location.php index 5d33758..1055ebb 100644 --- a/src/Location.php +++ b/src/Location.php @@ -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); }