Update geonames server dependency for better logs

This commit is contained in:
Romain Neutron
2014-02-05 16:41:15 +01:00
parent beceb9350b
commit a2e7918b63
2 changed files with 6 additions and 8 deletions

View File

@@ -70,9 +70,7 @@ class ConnectedUsers implements ControllerProviderInterface
$info = '';
}
} catch (GeonamesExceptionInterface $e) {
$app['monolog']->error(sprintf(
"Unable to get IP information for %s : %s", $session->getIpAddress(), $e->getMessage()
));
$app['monolog']->error(sprintf("Unable to get IP information for %s", $session->getIpAddress()), array('exception' => $e));
}
$result[] = array(