mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-04 12:29:47 +00:00
Code cleanup and realign.
This commit is contained in:
@@ -27,7 +27,7 @@ use Exception;
|
||||
use GuzzleHttp\Client;
|
||||
use GuzzleHttp\Exception\GuzzleException;
|
||||
use Log;
|
||||
use RunTimeException;
|
||||
use RuntimeException;
|
||||
|
||||
/**
|
||||
* Class IpifyOrg
|
||||
@@ -58,7 +58,7 @@ class IpifyOrg implements IPRetrievalInterface
|
||||
}
|
||||
try {
|
||||
$body = (string)$res->getBody()->getContents();
|
||||
} catch (RunTimeException $e) {
|
||||
} catch (RuntimeException $e) {
|
||||
Log::error(sprintf('Could not get body from ipify.org result: %s', $e->getMessage()));
|
||||
$body = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user