mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-20 11:48:27 -06:00
Add error message.
This commit is contained in:
parent
5e323b958f
commit
4436c9939e
@ -76,9 +76,7 @@ class SubmitTelemetryData implements ShouldQueue
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
$json = $this->parseJson($telemetry);
|
||||
|
||||
$client = new Client;
|
||||
$options = [
|
||||
'body' => json_encode($json, JSON_THROW_ON_ERROR, 512),
|
||||
@ -94,7 +92,7 @@ class SubmitTelemetryData implements ShouldQueue
|
||||
} catch (GuzzleException $e) {
|
||||
Log::error($e->getMessage());
|
||||
Log::error($e->getTraceAsString());
|
||||
|
||||
Log::error('Could not submit telemetry.');
|
||||
return;
|
||||
}
|
||||
$body = (string) $result->getBody();
|
||||
|
Loading…
Reference in New Issue
Block a user