mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-08-29 09:16:15 +00:00
Add error message.
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user