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

10
composer.lock generated
View File

@@ -120,16 +120,16 @@
}, },
{ {
"name": "alchemy/geonames-api-consumer", "name": "alchemy/geonames-api-consumer",
"version": "0.1.1", "version": "0.1.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/alchemy-fr/GeonamesServer-PHP-Plugin.git", "url": "https://github.com/alchemy-fr/GeonamesServer-PHP-Plugin.git",
"reference": "c01f5d2d132e215524860c336693ed043a94118f" "reference": "111a38233da7a5503f86e96877e044381698f647"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/alchemy-fr/GeonamesServer-PHP-Plugin/zipball/c01f5d2d132e215524860c336693ed043a94118f", "url": "https://api.github.com/repos/alchemy-fr/GeonamesServer-PHP-Plugin/zipball/111a38233da7a5503f86e96877e044381698f647",
"reference": "c01f5d2d132e215524860c336693ed043a94118f", "reference": "111a38233da7a5503f86e96877e044381698f647",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -154,7 +154,7 @@
"keywords": [ "keywords": [
"geonames" "geonames"
], ],
"time": "2013-07-02 11:28:34" "time": "2014-02-05 15:29:39"
}, },
{ {
"name": "alchemy/ghostscript", "name": "alchemy/ghostscript",

View File

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