mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-18 04:19:12 +00:00
Various bugfixes and code clean up.
This commit is contained in:
@@ -250,7 +250,7 @@ abstract class SpectreRequest
|
||||
$client = new Client;
|
||||
$res = $client->request('POST', $fullUri, ['headers' => $headers, 'body' => $body]);
|
||||
} catch (GuzzleException|Exception $e) {
|
||||
throw new FireflyException(sprintf('Request Exception: %s', $e->getMessage()));
|
||||
throw new FireflyException(sprintf('Guzzle Exception: %s', $e->getMessage()));
|
||||
}
|
||||
$body = $res->getBody()->getContents();
|
||||
$statusCode = $res->getStatusCode();
|
||||
|
||||
Reference in New Issue
Block a user